Automattic\WooCommerce\Internal\PushNotifications
PushNotifications::register
Registers initialisation tasks to the init hook.
Method of the class: PushNotifications{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PushNotifications = new PushNotifications(); $PushNotifications->register(): void;
Changelog
| Since 10.4.0 | Introduced. |
PushNotifications::register() PushNotifications::register code WC 11.0.1
public function register(): void {
add_action( 'init', array( $this, 'on_init' ) );
}