WC_Deprecated_Hooks::handle_deprecated_hook( string $new_hook, string $old_hook, array $new_callback_args, mixed $return_value )

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


Description Description


Parameters Parameters

$new_hook

(Required) New hook name.

$old_hook

(Required) Old hook name.

$new_callback_args

(Required) New callback args.

$return_value

(Required) Returned value.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: includes/abstracts/abstract-wc-deprecated-hooks.php

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


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.