Automattic\WooCommerce\Internal\Admin\ProductReviews

Reviews::maybe_display_reviews_bulk_action_notice()protectedWC 1.0

May display the bulk action admin notice.

Метод класса: Reviews{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->maybe_display_reviews_bulk_action_notice() : void;

Код Reviews::maybe_display_reviews_bulk_action_notice() WC 8.7.0

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
}