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



registered_post_type_{$post_type} › Les Actions WordPress

Depuis6.0.0
Dépréciéen/a
› do_action( "registered_post_type_{$post_type}", $post_type, $post_type_object )
Paramètres: (2)
  • () post_type Post type.
    Requis: Oui
  • () post_type_object Arguments used to register the post type.
    Requis: Oui
Défini(e) dans:
Codex:

Fires after a specific post type is registered.

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




Source

do_action( "registered_post_type_{$post_type}", $post_type, $post_type_object );