WC_Coupon::get_hook_prefix()
Prefix for action and filter hooks on data.
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. |
WC_Coupon::get_hook_prefix() WC Coupon::get hook prefix code WC 9.4.2
protected function get_hook_prefix() { return 'woocommerce_coupon_get_'; }