Automattic\WooCommerce\Internal\Admin\ProductReviews

Reviews::maybe_display_reviews_bulk_action_notice()protectedWC 1.0

May display the bulk action admin notice.

Method of the class: Reviews{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Reviews::maybe_display_reviews_bulk_action_notice() code WC 8.6.1

protected function maybe_display_reviews_bulk_action_notice() : void {

	$messages = $this->get_bulk_action_notice_messages();

	echo ! empty( $messages ) ? '<div id="moderated" class="updated"><p>' . implode( "<br/>\n", $messages ) . '</p></div>' : '';  // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}