Automattic\WooCommerce\Internal\Admin\ProductReviews

ReviewsCommentsOverrides::maybe_display_reviews_moved_notice()protectedWC 1.0

May render an admin notice informing the user that reviews were moved to a new page.

Method of the class: ReviewsCommentsOverrides{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ReviewsCommentsOverrides::maybe_display_reviews_moved_notice() code WC 8.7.0

protected function maybe_display_reviews_moved_notice() : void {
	if ( $this->should_display_reviews_moved_notice() ) {
		$this->display_reviews_moved_notice();
	}
}