refactor(resource): drop aksrt_resource CPT residue, post+meta only
This commit is contained in:
@@ -108,8 +108,8 @@ class AKSRT_Setup {
|
||||
/**
|
||||
* 注册自定义文章类型
|
||||
*
|
||||
* v3.4: 移除 aksrt_resource CPT,资源元数据统一挂在 post 上,
|
||||
* 通过 _aksrt_is_resource meta 标记单篇文章是否为“资源”。
|
||||
* 资源不是 CPT:元数据挂在普通 post 上,
|
||||
* 通过 _aksrt_is_resource meta 标记是否为资源。
|
||||
*/
|
||||
public function register_post_types(): void {
|
||||
// Shop rewrite settings (safe fallback if settings not yet loaded)
|
||||
|
||||
Reference in New Issue
Block a user