Yoast\WP\SEO\Task_List\Domain\Tasks
Parent_Task_Interface{}└─ Task_Interface
Represents a parent task.
Хуков нет.
Использование
$Parent_Task_Interface = new Parent_Task_Interface(); // use class methods
Методы
- public generate_child_tasks()
- public get_child_tasks()
- public populate_child_tasks()
Код Parent_Task_Interface{} Parent Task Interface{} Yoast 27.7
interface Parent_Task_Interface extends Task_Interface {
/**
* Returns the child tasks associated with the task.
*
* @return Child_Task_Interface[]
*/
public function get_child_tasks(): array;
/**
* Generates the child tasks dynamically.
*
* @return Child_Task_Interface[] The generated child tasks.
*/
public function generate_child_tasks(): array;
/**
* Populates the child tasks.
*
* @return Child_Task_Interface[] The populated child tasks.
*/
public function populate_child_tasks(): array;
}