Update the wp_ajax_imagify_missing_webp_generation to wp_ajax_imagify_missing_nextgen_generation filter
Update the missing_webp_callback() to missing_nextgen_callback()
Update the run_generate_webp() method to run_generate_nextgen()
Update the above method to use the method to get the formats to generate
In inc/functions/i18n/
Update the ajaxActions in get_imagify_localize_script_translations(), to replace MissingWebp with MissingNextGen and the value to imagify_missing_nextgen_generation
In classes/CLI
Replace the GenerateMissingWebpCommand class by GenerateMissingNextgenCommand
Update the class to make it run the generation depending on the formats to generate
Scope a solution ✅
In
classes\Bulk\Bulk
wp_ajax_imagify_missing_webp_generation
towp_ajax_imagify_missing_nextgen_generation
filtermissing_webp_callback()
tomissing_nextgen_callback()
run_generate_webp()
method torun_generate_nextgen()
In
inc/functions/i18n/
ajaxActions
inget_imagify_localize_script_translations()
, to replaceMissingWebp
withMissingNextGen
and the value toimagify_missing_nextgen_generation
In
classes/CLI
GenerateMissingWebpCommand
class byGenerateMissingNextgenCommand
Estimate the effort ✅
Effort [S]