WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Terms_List_Table::prepare_items() public WP 1.0

Это метод класса: WP_Terms_List_Table{}

Возвращает

Null. Ничего.

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

$WP_Terms_List_Table = new WP_Terms_List_Table();
$WP_Terms_List_Table->prepare_items();

Код WP_Terms_List_Table::prepare_items() WP 5.5.1

wp-admin/includes/class-wp-terms-list-table.php
<?php
public function prepare_items() {
	$tags_per_page = $this->get_items_per_page( 'edit_' . $this->screen->taxonomy . '_per_page' );

	if ( 'post_tag' === $this->screen->taxonomy ) {
		/**
		 * Filters the number of terms displayed per page for the Tags list table.
		 *
		 * @since 2.8.0
		 *
		 * @param int $tags_per_page Number of tags to be displayed. Default 20.
		 */
		$tags_per_page = apply_filters( 'edit_tags_per_page', $tags_per_page );

		/**
		 * Filters the number of terms displayed per page for the Tags list table.
		 *
		 * @since 2.7.0
		 * @deprecated 2.8.0 Use {@see 'edit_tags_per_page'} instead.
		 *
		 * @param int $tags_per_page Number of tags to be displayed. Default 20.
		 */
		$tags_per_page = apply_filters_deprecated( 'tagsperpage', array( $tags_per_page ), '2.8.0', 'edit_tags_per_page' );
	} elseif ( 'category' === $this->screen->taxonomy ) {
		/**
		 * Filters the number of terms displayed per page for the Categories list table.
		 *
		 * @since 2.8.0
		 *
		 * @param int $tags_per_page Number of categories to be displayed. Default 20.
		 */
		$tags_per_page = apply_filters( 'edit_categories_per_page', $tags_per_page );
	}

	$search = ! empty( $_REQUEST['s'] ) ? trim( wp_unslash( $_REQUEST['s'] ) ) : '';

	$args = array(
		'search' => $search,
		'page'   => $this->get_pagenum(),
		'number' => $tags_per_page,
	);

	if ( ! empty( $_REQUEST['orderby'] ) ) {
		$args['orderby'] = trim( wp_unslash( $_REQUEST['orderby'] ) );
	}

	if ( ! empty( $_REQUEST['order'] ) ) {
		$args['order'] = trim( wp_unslash( $_REQUEST['order'] ) );
	}

	$this->callback_args = $args;

	$this->set_pagination_args(
		array(
			'total_items' => wp_count_terms( $this->screen->taxonomy, compact( 'search' ) ),
			'per_page'    => $tags_per_page,
		)
	);
}