Automattic\WooCommerce\Proxies

ActionsProxy::did_action()publicWC 1.0

Retrieve the number of times an action is fired.

Method of the class: ActionsProxy{}

No Hooks.

Return

Int. The number of times action hook $tag is fired.

Usage

$ActionsProxy = new ActionsProxy();
$ActionsProxy->did_action( $tag );
$tag(string) (required)
The name of the action hook.

ActionsProxy::did_action() code WC 8.7.0

public function did_action( $tag ) {
	return did_action( $tag );
}