apply_filters(“寄存器_ {$ post_type} _post_type_args”,
大批
$ args
,,,,
细绳
$ post_type
)
过滤用于注册特定帖子类型的论点。
描述
过滤名称的动态部分,$ post_type
,指邮类型密钥。
可能的挂钩名称包括:
register_post_post_type_args
register_page_post_type_args
参数
- $ args
-
((大批)注册邮政类型的一系列参数。看到register_post_type()可接受的参数的功能。
- $ post_type
-
((细绳)帖子类型密钥。
资源
更改
版本 | 描述 |
---|---|
6.0.0 | 引入。 |