Yoast\WP\SEO\Llms_Txt\Domain\Available_Posts\Data_Provider
Available_Posts_Repository_Interface{}
Interface describing the way to get data for a specific data provider.
Хуков нет.
Использование
$Available_Posts_Repository_Interface = new Available_Posts_Repository_Interface(); // use class methods
Методы
Код Available_Posts_Repository_Interface{} Available Posts Repository Interface{} Yoast 27.8
interface Available_Posts_Repository_Interface {
/**
* Method to get available posts from a provider.
*
* @param Parameters $parameters The parameter to get the available posts for.
*
* @return Data_Container
*/
public function get_posts( Parameters $parameters ): Data_Container;
}