wpseo_cleanup_tasks

wpseo_cleanup_tasks

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

apply_filters('wpseo_cleanup_tasks') is found 1 times:

  • /src/integrations/cleanup-integration.php line 185
    		 * Filter: Adds the possibility to add additional indexable cleanup functions.
    		 *
    		 * @param array $additional_tasks Associative array with unique keys. Value should be a cleanup function that receives a limit.
    		 */
    		$additional_tasks = \apply_filters( 'wpseo_cleanup_tasks', [] );
    
    		return $this->validate_additional_tasks( $additional_tasks );
    	}
    
    	/**
    	 * Gets additional tasks from the 'wpseo_misc_cleanup_tasks' filter.