WPSEO_Import_Squirrly::retrieve_posts_query()protectedYoast 1.0

Returns the query to return an identifier for the posts to import.

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

Хуков нет.

Возвращает

Строку. Query to get post ID's from the DB.

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

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

Код WPSEO_Import_Squirrly::retrieve_posts_query() Yoast 22.4

protected function retrieve_posts_query() {
	return "SELECT post_id AS identifier FROM {$this->table_name} WHERE blog_id = %d";
}