acf_doing_action()
Returns the current priority of a running action.
Хуков нет.
Возвращает
Int|true|false.
Использование
acf_doing_action( $action );
- $action(строка) (обязательный)
- The action name.
Список изменений
| С версии 5.9.0 | Введена. |
Код acf_doing_action() acf doing action ACF 6.4.2
function acf_doing_action( $action ) {
global $wp_filter;
if ( isset( $wp_filter[ $action ] ) ) {
return $wp_filter[ $action ]->current_priority();
}
return false;
}