wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



register_post_type_args › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
apply_filters( 'register_post_type_args', $args, $this->name )
Paramètres: (2)
  • (array) $args Array of arguments for registering a post type. See the register_post_type() function for accepted arguments.
    Requis: Oui
  • (string) $post_type Post type key.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the arguments for registering a post type.





Source

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