Automattic\WooCommerce\Internal\Admin\ProductReviews

ReviewsCommentsOverrides::display_notices()protectedWC 1.0

Renders admin notices.

Method of the class: ReviewsCommentsOverrides{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->display_notices() : void;

ReviewsCommentsOverrides::display_notices() code WC 7.1.0

protected function display_notices() : void {
	$screen = get_current_screen();

	if ( empty( $screen ) || $screen->base !== 'edit-comments' ) {
		return;
	}

	$this->maybe_display_reviews_moved_notice();
}