Automattic\WooCommerce\Internal\Integrations
WPConsentAPI::register()
Register the consent API.
Method of the class: WPConsentAPI{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WPConsentAPI = new WPConsentAPI(); $WPConsentAPI->register();
WPConsentAPI::register() WPConsentAPI::register code WC 9.3.3
public function register() { add_action( 'init', function() { $this->on_init(); }, 20 // After OrderAttributionController. ); }