A WordPress-centric search engine for devs and theme authors



register_post_type_args ›

Since4.4.0
Deprecatedn/a
apply_filters( 'register_post_type_args', $args, $this->name )
Parameters: (2)
  • (array) $args Array of arguments for registering a post type.
    Required: Yes
  • (string) $post_type Post type key.
    Required: Yes
Defined at:
Codex:

Filters the arguments for registering a post type.





Source

$args = apply_filters( 'register_post_type_args', $args, $this->name );