WordPress at Your Fingertips
function is not described

WC_Deprecated_Hooks::handle_deprecated_hook() public WC 1.0

If the old hook is in-use, trigger it.

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

No Hooks.

Return

Mixed.

Usage

$WC_Deprecated_Hooks = new WC_Deprecated_Hooks();
$WC_Deprecated_Hooks->handle_deprecated_hook( $new_hook, $old_hook, $new_callback_args, $return_value );
$new_hook(string) (required)
New hook name.
$old_hook(string) (required)
Old hook name.
$new_callback_args(array) (required)
New callback args.
$return_value(mixed) (required)
Returned value.

Code of WC_Deprecated_Hooks::handle_deprecated_hook() WC 5.8.0

abstract public function handle_deprecated_hook( $new_hook, $old_hook, $new_callback_args, $return_value );