wpseo_misc_cleanup_tasks

wpseo_misc_cleanup_tasks

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_misc_cleanup_tasks') is found 1 times:

  • /src/integrations/cleanup-integration.php line 202
    		 * Filter: Adds the possibility to add additional non-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_misc_cleanup_tasks', [] );
    
    		return $this->validate_additional_tasks( $additional_tasks );
    	}
    
    	/**
    	 * Validates the additional tasks.
    

See this hook used in plugins: