wpseek.com
WordPress开发者和主题制作者的搜索引擎



registered_post_type › WordPress动作钩子

Since4.6.0
已弃用n/a
› do_action( 'registered_post_type', $post_type, $post_type_object )
参数: (2)
  • () post_type Post type.
    Required: Yes
  • () post_type_object Arguments used to register the post type.
    Required: Yes
定义在:
文档:

Fires after a post type is registered.





源码

do_action( 'registered_post_type', $post_type, $post_type_object );