WPSEO_Import_Squirrly::retrieve_posts
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() WPSEO Import Squirrly::retrieve posts Yoast 26.9
protected function retrieve_posts() {
global $wpdb;
return $wpdb->get_results(
$wpdb->prepare(
$this->retrieve_posts_query(),
get_current_blog_id()
)
);
}