do_Action(“注册_post_type _ {$ post_type}”,
细绳
$ post_type
,,,,
wp_post_type
$ post_type_object
)
在注册特定帖子类型后发生火灾。
在注册特定帖子类型后发生火灾。
过滤名称的动态部分,$ post_type
,指邮类型密钥。
可能的挂钩名称包括:
注册_post_type_post
注册_post_type_page
((细绳)帖子类型。
((wp_post_type)用于注册帖子类型的参数。
使用 | 描述 |
---|---|
wp-rudes/post.php:register_post_type() | 注册帖子类型。 |
版本 | 描述 |
---|---|
6.0.0 | 引入。 |