Automattic\WooCommerce\Internal\Admin\ProductReviews
Reviews::maybe_display_reviews_bulk_action_notice()
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() Reviews::maybe display reviews bulk action notice code WC 9.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 }