Automattic\WooCommerce\Proxies
ActionsProxy::did_action()
Retrieve the number of times an action is fired.
Метод класса: ActionsProxy{}
Хуков нет.
Возвращает
int
. The number of times action hook $tag is fired.
Использование
$ActionsProxy = new ActionsProxy(); $ActionsProxy->did_action( $tag );
- $tag(строка) (обязательный)
- The name of the action hook.
Код ActionsProxy::did_action() ActionsProxy::did action WC 8.7.0
public function did_action( $tag ) { return did_action( $tag ); }