do_Action(“注册_post_type _ {$ post_type}”, 细绳 $ post_type ,,,, wp_post_type $ post_type_object

在注册特定帖子类型后发生火灾。


描述

过滤名称的动态部分,$ post_type,指邮类型密钥。

可能的挂钩名称包括:

  • 注册_post_type_post
  • 注册_post_type_page

顶部↑

参数

$ post_type

((细绳帖子类型。

$ post_type_object

((wp_post_type用于注册帖子类型的参数。


顶部↑

资源

文件:wp-rudes/post.php

在trac上查看



顶部↑

更改

更改
版本 描述
6.0.0 引入。

顶部↑

用户贡献笔记

你必须登录在能够贡献笔记或反馈之前。