Automattic\WooCommerce\Proxies

ActionsProxy::did_action()publicWC 1.0

Retrieve the number of times an action is fired.

{} It's a 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.

Code of ActionsProxy::did_action() WC 7.1.0

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