WC_Deprecated_Filter_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.


Top ↑

Source Source

File: includes/class-wc-deprecated-filter-hooks.php

	public function hook_in( $hook_name ) {
		add_filter( $hook_name, array( $this, 'maybe_handle_deprecated_hook' ), -1000, 8 );
	}

Top ↑

User Contributed Notes User Contributed Notes

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