wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



registered_post_type_{$post_type} › WordPress Action Hooks

Seit6.0.0
Veraltetn/v
do_action( "registered_post_type_{$post_type}", $post_type, $post_type_object )
Parameter: (2)
  • () post_type Post type.
    Erforderlich: Ja
  • () post_type_object Arguments used to register the post type.
    Erforderlich: Ja
Definiert in:
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`




Quellcode

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