WordPress at Your Fingertips
function is not described

WC_Deprecated_Hooks::hook_in() public WC 1.0

Hook into the new hook so we can handle deprecated hooks once fired.

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

No Hooks.


null. Nothing.


$WC_Deprecated_Hooks = new WC_Deprecated_Hooks();
$WC_Deprecated_Hooks->hook_in( $hook_name );
$hook_name(string) (required)
Hook name.

Code of WC_Deprecated_Hooks::hook_in() WC 5.8.0

abstract public function hook_in( $hook_name );