Yoast\WP\SEO\Editors\Framework\Seo\Posts
Description_Data_Provider::get_data()
Method to return the Description domain object with SEO data.
Метод класса: Description_Data_Provider{}
Хуков нет.
Возвращает
Seo_Plugin_Data_Interface
. The specific seo data.
Использование
$Description_Data_Provider = new Description_Data_Provider(); $Description_Data_Provider->get_data(): Seo_Plugin_Data_Interface;
Код Description_Data_Provider::get_data() Description Data Provider::get data Yoast 25.1
public function get_data(): Seo_Plugin_Data_Interface { return new Description( $this->get_description_date(), $this->get_description_template() ); }