Automattic\WooCommerce\Internal\Admin\ProductReviews

Reviews::edit_comments_screen_text()publicWC 1.0

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

Хуков нет.

Возвращает

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

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

$Reviews = new Reviews();
$Reviews->;

Код Reviews::edit_comments_screen_text() WC 9.3.3

<?php

	/**
	 * Initializes the list table.
	 *
	 * @return void
	 */
	protected function load_reviews_screen() : void {
		$this->reviews_list_table = $this->make_reviews_list_table();
		$this->reviews_list_table->process_bulk_action();
	}

	/**
	 * Renders the Reviews page.
	 *
	 * @return void
	 */
	public function render_reviews_list_table() : void {

		$this->reviews_list_table->prepare_items();

		ob_start();

		?>
		<div class="wrap">
			<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>

			<?php $this->reviews_list_table->views(); ?>

			<form id="reviews-filter" method="get">
				<?php $page = isset( $_REQUEST['page'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['page'] ) ) : static::MENU_SLUG; ?>