Created
July 1, 2022 15:50
-
-
Save tripflex/d78e60f072cebffef09b7e25337dfdbe to your computer and use it in GitHub Desktop.
Lower total per batch when using empty meta cleaner cleanup existing empty post meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'job_manager_empty_meta_cleaner_init_configuration', 'smyles_emc_lower_per_batch' ); | |
function smyles_emc_lower_per_batch( $config ){ | |
$config['total_per_batch'] = 10; | |
return $config; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment