WordPress at Your Fingertips
function is not described

WC_Deprecated_Hooks::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Deprecated_Hooks = new WC_Deprecated_Hooks();
$WC_Deprecated_Hooks->__construct();

Code of WC_Deprecated_Hooks::__construct() WC 5.8.0

public function __construct() {
	$new_hooks = array_keys( $this->deprecated_hooks );
	array_walk( $new_hooks, array( $this, 'hook_in' ) );
}