Regenerate Existing Images Job: Create main settings screen #486
Labels
[Module] Regenerate Existing Images
Issues for the Regenerate Existing Images module
[Plugin] Performance Lab
Issue relates to work in the Performance Lab Plugin only
Projects
Create a admin settings screen to start the Regenerate Existing Images background job. This will be a new screen available under the 'Tools' menu and display basic settings to start the Regenerate Existing Images background job.
Acceptance Criteria
upload_files
andmanage_options
capabilities.delete_images
checkbox to delete old images. By default the checkbox is unchecked.wp_verify_nonce
delete_images
checkbox valueperflab_create_background_job
function passing the followingregenerate_images
as the job namearray( 'delete_images' => $delete_images )
as the job data, passing the value of thedelete_images
checkbox as part of the data$job_id
returned byperflab_start_background_job
function$job_id
returned by theperflab_create_background_job
functionThe text was updated successfully, but these errors were encountered: