WC_Deprecated_Hooks::trigger_hook( string $old_hook, array $new_callback_args )

Fire off a legacy hook with it’s args.


Description Description


Parameters Parameters

$old_hook

(Required) Old hook name.

$new_callback_args

(Required) New callback args.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

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

	abstract protected function trigger_hook( $old_hook, $new_callback_args );

Top ↑

User Contributed Notes User Contributed Notes

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