wpseo_misc_cleanup_tasks

wpseo_misc_cleanup_tasks

Appears in:
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-seo.22.6

apply_filters('wpseo_misc_cleanup_tasks') is found 1 times:

  • /src/integrations/cleanup-integration.php line 184
    		 * 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: