wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



register_{$post_type}_post_type_args › WordPress Filter Hooks

Da6.4.0
Deprecaton/a
› apply_filters( "register_{$post_type}_post_type_args", $args, $this->name )
Parametri: (2)
  • () args Array of arguments for registering a post type. See the register_post_type() function for accepted arguments.
    Richiesto: Sì
  • () post_type Post type key.
    Richiesto: Sì
Definito a:
Codex:

Filters the arguments for registering a specific post type.

The dynamic portion of the filter name, `$post_type`, refers to the post type key. Possible hook names include: - `register_post_post_type_args` - `register_page_post_type_args`




Sorgenti

$args = apply_filters( "register_{$post_type}_post_type_args", $args, $this->name );