wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_get_registered_entity_action_modules › WordPress Function

Da7.2.0
Deprecaton/a
› wp_get_registered_entity_action_modules ( $kind, $name )
Parametri: (2)
  • (string) $kind The entity kind (e.g. `postType`).
    Richiesto: Sì
  • (string) $name The entity name (e.g. `page`).
    Richiesto: Sì
Ritorna:
  • (array[]) {
    The script modules, in registration order. Empty until the `init`
    action has completed: a read before then is refused.

    @type array ...$0 {
    @type string $id The id of the script module.
    @type string[] $actions The ids of the actions the module applies
    to, in registration order.
    }
    }
Definito a:
Codex:

Returns the script modules registered for the given entity.



Sorgenti

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