wpseo_task_list_tasks
wpseo_task_list_tasks
Appears in: wordpress-seo.26.6
Hook Type: filter
See hook in action
Displaying hooks found in version: wordpress-seo.26.6apply_filters('wpseo_task_list_tasks') is found 1 times:
- /src/task-list/infrastructure/tasks-collectors/tasks-collector.php line 82
* Filter: 'wpseo_task_list_tasks' - Allows adding more tasks to the task list. * * @param array<string, array<string, Task_Interface>> $tasks The tasks for the task list. */ $tasks = \apply_filters( 'wpseo_task_list_tasks', $this->tasks ); // Check that every item is an instance of Post_Type_Task_Interface. foreach ( $tasks as $task ) { if ( ! $task instanceof Task_Interface ) { throw new Invalid_Tasks_Exception(); }