Yoast\WP\SEO\Task_List\Domain\Tasks

Parent_Task_Interface{}interfaceYoast 1.0└─ Task_Interface

Represents a parent task.

Хуков нет.

Использование

$Parent_Task_Interface = new Parent_Task_Interface();
// use class methods

Методы

  1. public generate_child_tasks()
  2. public get_child_tasks()
  3. public populate_child_tasks()

Код 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;
}