Automattic\WooCommerce\Proxies
ActionsProxy::did_action()
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() ActionsProxy::did action code WC 9.6.1
public function did_action( $tag ) { return did_action( $tag ); }