WC_Data::get_hook_prefix
Prefix for action and filter hooks on data.
Method of the class: WC_Data{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->get_hook_prefix();
Changelog
| Since 3.0.0 | Introduced. |
WC_Data::get_hook_prefix() WC Data::get hook prefix code WC 10.6.2
protected function get_hook_prefix() {
return 'woocommerce_' . $this->object_type . '_get_';
}