WC_Deprecated_Hooks::hook_in()
Hook into the new hook so we can handle deprecated hooks once fired.
Method of the class: WC_Deprecated_Hooks{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Deprecated_Hooks = new WC_Deprecated_Hooks(); $WC_Deprecated_Hooks->hook_in( $hook_name );
- $hook_name(string) (required)
- Hook name.
WC_Deprecated_Hooks::hook_in() WC Deprecated Hooks::hook in code WC 9.7.1
abstract public function hook_in( $hook_name );