WC_Deprecated_Action_Hooks::hook_in( string $hook_name )
Hook into the new hook so we can handle deprecated hooks once fired.
Description Description
Parameters Parameters
- $hook_name
-
(Required) Hook name.
Source Source
File: includes/class-wc-deprecated-action-hooks.php
public function hook_in( $hook_name ) { add_action( $hook_name, array( $this, 'maybe_handle_deprecated_hook' ), -1000, 8 ); }