WPSEO_Import_Squirrly::retrieve_posts()protectedYoast 1.0

Retrieve the posts from the Squirrly Database.

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

Хуков нет.

Возвращает

Массив. Array of post IDs from the DB.

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

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

Код WPSEO_Import_Squirrly::retrieve_posts() Yoast 22.4

protected function retrieve_posts() {
	global $wpdb;
	return $wpdb->get_results(
		$wpdb->prepare(
			$this->retrieve_posts_query(),
			get_current_blog_id()
		)
	);
}