Un motore di ricerca WordPress per sviluppatori e autori di temi



doing_action ›

Da3.9.0
Deprecaton/a
doing_action ( $action = null )
Parametri:
  • (string|null) $action Optional. Action to check. Defaults to null, which checks if any action is currently being run.
    Richiesto: No
    Default: null
Ritorna:
  • (bool) Whether the action is currently in the stack.
Definito a:
Codex:

Retrieve the name of an action currently being processed.



Sorgenti

function doing_action( $action = null ) {
	return doing_filter( $action );
}