acf_doing_action()
Returns the current priority of a running action.
No Hooks.
Returns
Int|true|false.
Usage
acf_doing_action( $action );
- $action(string) (required)
- The action name.
Changelog
| Since 5.9.0 | Introduced. |
acf_doing_action() acf doing action code ACF 6.8.8
function acf_doing_action( $action ) {
global $wp_filter;
if ( isset( $wp_filter[ $action ] ) ) {
return $wp_filter[ $action ]->current_priority();
}
return false;
}