WPSEO_Bulk_List_Table::get_meta_data()protectedYoast 1.0

Method for setting the meta data, which belongs to the records that will be shown on the current page.

This method will loop through the current items ($this->items) for getting the post_id. With this data ($needed_ids) the method will query the meta-data table for getting the title.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код WPSEO_Bulk_List_Table::get_meta_data() Yoast 19.11

protected function get_meta_data() {

	$post_ids  = $this->get_post_ids();
	$meta_data = $this->get_meta_data_result( $post_ids );

	$this->parse_meta_data( $meta_data );

	// Little housekeeping.
	unset( $post_ids, $meta_data );
}