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



registered_taxonomy_{$taxonomy} › WordPress Action Hooks

Seit6.0.0
Veraltetn/v
do_action( "registered_taxonomy_{$taxonomy}", $taxonomy, $object_type, (array)
Parameter: (3)
  • (string) $taxonomy Taxonomy slug.
    Erforderlich: Ja
  • (array|string) $object_type Object type or array of object types.
    Erforderlich: Ja
  • (array) $args Array of taxonomy registration arguments.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after a specific taxonomy is registered.

The dynamic portion of the filter name, $taxonomy, refers to the taxonomy key.

Possible hook names include:

  • registered_taxonomy_category
  • registered_taxonomy_post_tag




Quellcode

do_action( "registered_taxonomy_{$taxonomy}", $taxonomy, $object_type, (array) $taxonomy_object );