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.8.1

apply_filters('wpseo_misc_cleanup_tasks') is found 1 times:

  • /src/integrations/cleanup-integration.php line 202
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
         * 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: