WordPress at Your Fingertips
function is not described

WC_Coupon::get_hook_prefix() protected WC 3.0.0

Prefix for action and filter hooks on data.

{} It's a method of the class: WC_Coupon{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_hook_prefix();

Changelog

Since 3.0.0 Introduced.

Code of WC_Coupon::get_hook_prefix() WC 5.7.1

protected function get_hook_prefix() {
	return 'woocommerce_coupon_get_';
}