Yoast\WP\SEO\Actions\Importing\Aioseo
Aioseo_Posts_Importing_Action::get_needed_data()
Populates the needed data array based on which columns we use from the AIOSEO indexable table.
Метод класса: Aioseo_Posts_Importing_Action{}
Хуков нет.
Возвращает
Массив
. The needed data array that contains all the needed columns.
Использование
$Aioseo_Posts_Importing_Action = new Aioseo_Posts_Importing_Action(); $Aioseo_Posts_Importing_Action->get_needed_data();
Код Aioseo_Posts_Importing_Action::get_needed_data() Aioseo Posts Importing Action::get needed data Yoast 24.6
public function get_needed_data() { $needed_data = \array_keys( $this->aioseo_to_yoast_map ); \array_push( $needed_data, 'id', 'post_id', 'robots_default', 'og_image_custom_url', 'og_image_type', 'twitter_image_custom_url', 'twitter_image_type', 'twitter_use_og' ); return $needed_data; }