wpseo_task_list_tasks, $this->tasks

wpseo_task_list_tasks, $this->tasks

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_task_list_tasks, $this->tasks') is found 1 times:

  • /src/task-list/infrastructure/tasks-collectors/tasks-collector.php line 117
    		 * 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 );
    
    		$extra_tasks = [];
    		foreach ( $tasks as $task_id => $task ) {
    			if ( ! $task instanceof Task_Interface ) {
    				throw new Invalid_Tasks_Exception();
    			}