wpseo_cron_query_limit_size

wpseo_cron_query_limit_size

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

See hook in core

Displaying hooks found in version: wordpress-seo.23.8

apply_filters('wpseo_cron_query_limit_size') is found 1 times:

  • /src/integrations/cleanup-integration.php line 242
    		 * Filter: Adds the possibility to limit the number of items that are deleted from the database on cleanup.
    		 *
    		 * @param int $limit Maximum number of indexables to be cleaned up per query.
    		 */
    		$limit = \apply_filters( 'wpseo_cron_query_limit_size', 1000 );
    
    		if ( ! \is_int( $limit ) ) {
    			$limit = 1000;
    		}
    
    		return \abs( $limit );