Automattic\WooCommerce\Proxies
ActionsProxy::did_action() public WC 1.0
Retrieve the number of times an action is fired.
{} Это метод класса: ActionsProxy{}
Хуков нет.
Возвращает
Число. 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 5.0.0
public function did_action( $tag ) {
return did_action( $tag );
}