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



wp_get_registered_entity_action_modules › WordPress Function

Seit7.2.0
Veraltetn/v
› wp_get_registered_entity_action_modules ( $kind, $name )
Parameter: (2)
  • (string) $kind The entity kind (e.g. `postType`).
    Erforderlich: Ja
  • (string) $name The entity name (e.g. `page`).
    Erforderlich: Ja
Gibt zurück:
  • (array<string,string[]>) The ids of the actions each module
    applies to, keyed by module id, in
    registration order. Empty until the
    `init` action has completed: a read
    before then is refused.
Definiert in:
Codex:

Returns the ids of the script modules registered for the given entity.



Quellcode

function wp_get_registered_entity_action_modules( $kind, $name ) {
	return WP_Entity_Actions_Registry::get_instance()->get_registered_action_modules( $kind, $name );
}