Automattic\WooCommerce\Blocks\Domain\Services
Notices::enqueue_notice_styles()
Replaces all notices with the new block-based notices.
Method of the class: Notices{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Notices = new Notices(); $Notices->enqueue_notice_styles();
Notices::enqueue_notice_styles() Notices::enqueue notice styles code WC 9.7.1
public function enqueue_notice_styles() { wp_enqueue_style( 'wc-blocks-style' ); }