wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_registered_entity_action_modules › WordPress Function

Since7.2.0
Deprecatedn/a
› wp_get_registered_entity_action_modules ( $kind, $name )
Parameters: (2)
  • (string) $kind The entity kind (e.g. `postType`).
    Required: Yes
  • (string) $name The entity name (e.g. `page`).
    Required: Yes
Returns:
  • (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.
Defined at:
Codex:

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



Source

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