register_post_type_args

最后更新于:2021-11-27 21:45:01

apply_filters( ‘register_post_type_args’, array $args, string $post_type )

Filters the arguments for registering a post type.

参数

$args

(array)
Array of arguments for registering a post type. See the register_post_type() function for accepted arguments.

$post_type

(string)
Post type key.

源文件

文件: gc-includes/class-gc-post-type.php

View on Trac