# wordpress-seo/28.5/src/task-list/domain/tasks/parent-task-interface.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 28.5. 31 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.5/code/src/task-list/domain/tasks/parent-task-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.5/raw/src/task-list/domain/tasks/parent-task-interface.php
- Modified: 2026-03-05T08:37:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/28.5/code/src/task-list/domain/tasks/parent-task-interface.php#L10-L20`.

```php
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Given it's a very specific case.
namespace Yoast\WP\SEO\Task_List\Domain\Tasks;

/**
 * Represents a parent task.
 */
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;
}

```
