Imagify Image Optimization: Optimize Images icon
Performance & Caching

Imagify Image Optimization: Optimize Images hooks reference

  • By WP Media
  • v2.3.5 New
  • Updated

Imagify Image Optimization: Optimize Images 2.3.5 has 101 actions and 177 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Imagify Image Optimization: Optimize Images fires an action
add_action( 'action_scheduler_completed_action', function( $action_id ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Imagify Image Optimization: Optimize Images is about to use
add_filter( 'imagify_fill_thumbnail_data', function( $data, $response, $id, $thumbnail_path, $thumbnail_url, $size_key, $optimization_level, $metadata ) {
	// Change $data here.
	return $data;
}, 10, 8 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 308 · used in 4 places
    /**
     * This filter is documented in /inc/classes/class-imagify-attachment.php.
     */
    apply_filters( 'imagify_fill_thumbnail_data', $data, $response, $this->id, $thumbnail_path, $thumbnail_url, $size_key, $optimization_level, $metadata );
  • inc/classes/class-imagify-auto-optimization.php line 353 · used in 3 places
    /**
     * Allow to prevent automatic optimization for a specific attachment.
     */
    apply_filters( 'imagify_auto_optimize_attachment', true, $attachment_id, $metadata );
  • inc/deprecated/classes/class-imagify-admin-ajax-post-deprecated.php line 423 · used in 3 places
    /**
     * This filter is documented in inc/deprecated/deprecated.php.
     */
    apply_filters( 'imagify_file_path', $file_path );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php line 1310 · used in 2 places
    /**
     * Fires after a scheduled action has been completed.
     */
    do_action( 'action_scheduler_completed_action', $action_id );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler.php line 219 · used in 2 places
    /**
     * Fires when Action Scheduler is ready: it is safe to use the procedural API
     * after this point.
     */
    do_action( 'action_scheduler_init' );
  • classes/Optimization/File.php line 700 · used in 2 places
    /**
     * Fires after to optimize the Image with Imagify.
     */
    do_action_deprecated( 'after_do_imagify', [ $this->path, $args['backup'] ], '1.9', 'imagify_before_optimize_file' );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 325 · used in 2 places
    /**
     * This hook is documented in /inc/classes/class-imagify-attachment.php.
     */
    do_action( 'after_imagify_optimize_attachment', $this->id, $optimized_data );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 633 · used in 2 places
    /**
     * This hook is documented in /inc/classes/class-imagify-attachment.php.
     */
    do_action( 'after_imagify_restore_attachment', $this->id );
  • classes/Optimization/File.php line 584 · used in 2 places
    /**
     * Fires before to optimize the Image with Imagify.
     */
    do_action_deprecated( 'before_do_imagify', [ $this->path, $args['backup'] ], '1.9', 'imagify_before_optimize_file' );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 185 · used in 2 places
    /**
     * This hook is documented in /inc/classes/class-imagify-attachment.php.
     */
    do_action( 'before_imagify_optimize_attachment', $this->id );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 541 · used in 2 places
    /**
     * This hook is documented in /inc/classes/class-imagify-attachment.php.
     */
    do_action( 'before_imagify_restore_attachment', $this->id );
  • inc/classes/class-imagify-auto-optimization.php line 547 · used in 2 places
    /**
     * Triggered after a media auto-optimization is launched.
     */
    do_action( 'imagify_after_auto_optimization', $attachment_id, $is_new_upload );
  • classes/Optimization/File.php line 481 · used in 2 places
    /**
     * Allow to overwrite the backup file if it already exists.
     */
    apply_filters( 'imagify_backup_overwrite_backup', false, $path, $backup_path );
  • inc/classes/class-imagify-auto-optimization.php line 492 · used in 2 places
    /**
     * Triggered before a media is auto-optimized.
     */
    do_action( 'imagify_before_auto_optimization', $attachment_id, $is_new_upload );
  • inc/3rd-party/nextgen-gallery/inc/admin/enqueue.php line 91 · used in 2 places
    /**
     * This filter is documented in inc/functions/i18n.php
     */
    apply_filters( 'imagify_bulk_buffer_sizes', $l10n['bufferSizes'] );
  • classes/Bulk/WP.php line 145 · used in 2 places
    /**
     * Fires before testing for file existence.
     */
    do_action( 'imagify_bulk_optimize_before_file_existence_tests', $ids, $metas, $optimization_level );
  • classes/Bulk/CustomFolders.php line 58 · used in 2 places
    /**
     * Fires before getting file IDs.
     */
    do_action( 'imagify_bulk_optimize_files_before_get_files', $folders, $optimization_level );
  • inc/deprecated/deprecated.php line 1262 · used in 2 places
    /**
     * Filter the user capacity used to operate Imagify.
     */
    apply_filters( 'imagify_capacity', $capacity, $describer );
  • inc/3rd-party/nextgen-gallery/inc/functions/admin-stats.php line 161 · used in 2 places
    /**
     * This filter is documented in /inc/functions/admin-stats.php
     */
    apply_filters( 'imagify_count_saving_data_limit', 15000 );
  • inc/classes/class-imagify.php line 544 · used in 2 places
    /**
     * Fires after a failed curl request.
     */
    do_action( 'imagify_curl_http_response', $url, $args, $e );
  • inc/deprecated/deprecated.php line 1185 · used in 2 places
    /**
     * Filter the current user ability to operate Imagify.
     */
    apply_filters( 'imagify_current_user_can', $user_can, $capacity, $describer, $post_id );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 231 · used in 2 places
    /**
     * This filter is documented in /inc/classes/class-imagify-attachment.php.
     */
    apply_filters( 'imagify_fill_full_size_data', $data, $response, $this->id, $attachment_path, $attachment_url, 'full', $optimization_level, $metadata );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 621 · used in 2 places
    /**
     * Filter the optimization data of a specific thumbnail.
     */
    apply_filters( 'imagify_fill_ngg_thumbnail_data', $data, $response, $this->id, $thumbnail_path, $thumbnail_url, $size_key, $optimization_level );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 281 · used in 2 places
    /**
     * This filter is documented in /inc/classes/class-imagify-attachment.php.
     */
    apply_filters( 'imagify_fill_unauthorized_thumbnail_data', $data, $this->id, $thumbnail_path, $thumbnail_url, $size_key, $optimization_level, $metadata );
  • classes/User/User.php line 242 · used in 2 places
    /**
     * Triggered when the consumed quota percent decreases below 80%.
     */
    do_action( 'imagify_not_almost_over_quota_anymore', $percent, $previous_percent );
  • classes/User/User.php line 228 · used in 2 places
    /**
     * Triggered when the consumed quota percent decreases below 100%.
     */
    do_action( 'imagify_not_over_quota_anymore', $percent );
  • inc/Dependencies/ActionScheduler/lib/WP_Async_Request.php line 160
    /**
     * Filters the post arguments used during an async request.
     */
    apply_filters( "{$this->identifier}_post_args", $args );
  • inc/Dependencies/ActionScheduler/lib/WP_Async_Request.php line 114
    /**
     * Filters the post arguments used during an async request.
     */
    apply_filters( "{$this->identifier}_query_args", $args );
  • inc/Dependencies/ActionScheduler/lib/WP_Async_Request.php line 134
    /**
     * Filters the post arguments used during an async request.
     */
    apply_filters( "{$this->identifier}_query_url", $url );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php line 68
    /**
     * Allow custom processing before updating a table schema.
     */
    do_action( 'action_scheduler_before_schema_update', $table, $this->db_version );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php line 1000
    /**
     * Sets the order-by clause used in the action claim query.
     */
    apply_filters( 'action_scheduler_claim_actions_order_by', 'ORDER BY priority ASC, attempts ASC, scheduled_date_gmt ASC, action_id ASC', $claim_id, $hooks );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 252
    /**
     * Filter the batch size when cleaning the queue.
     */
    apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php line 1065
    /**
     * Filter whether the database supports the SKIP LOCKED modifier for queries.
     */
    apply_filters( 'action_scheduler_db_supports_skip_locked', $is_supported );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 84
    /**
     * Filter the statuses when cleaning the queue.
     */
    apply_filters( 'action_scheduler_default_cleaner_statuses', $this->default_statuses_to_purge );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_RecurringActionScheduler.php line 79
    /**
     * Fires to allow extensions to verify and ensure their recurring actions are
     * scheduled.
     */
    do_action( 'action_scheduler_ensure_recurring_actions' );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Store.php line 175
    /**
     * Allows 3rd party code to add extra action counts (used in filters in the
     * list table).
     */
    apply_filters( 'action_scheduler_extra_action_counts', $extra_actions );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 158
    /**
     * Notify 3rd party code of exceptions when deleting a completed action older
     * than the retention period
     */
    do_action( "action_scheduler_failed_{$context}_action_deletion", $action_id, $e, $lifespan, count( $actions_to_delete ) );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 143
    /**
     * Runs when action execution fails.
     */
    do_action( 'action_scheduler_failed_execution', $action_id, $e, $context );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 152
    /**
     * Runs when action validation fails.
     */
    do_action( 'action_scheduler_failed_validation', $action_id, $e, $context );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler.php line 182
    /**
     * Fires in the early stages of Action Scheduler init hook.
     */
    do_action( 'action_scheduler_pre_init' );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php line 234
    /**
     * When an external object cache is in use, and when wp_cache_flush_runtime()
     * is not available, then normally the cache will not be flushed after
     * processing a batch of actions (to avoid a performance penalty for other
     * processes).
     */
    apply_filters( 'action_scheduler_queue_runner_flush_cache', false );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 201
    /**
     * Controls the failure threshold for recurring actions.
     */
    apply_filters( 'action_scheduler_recurring_action_failure_threshold', 5 );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 231
    /**
     * If a recurring action is assessed as consistently failing, it will not be
     * rescheduled. This hook provides a way to observe and optionally override
     * that assessment.
     */
    apply_filters( 'action_scheduler_recurring_action_is_consistently_failing', $first_action_id_with_the_same_hook === $first_failing_action_id, $action );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 61
    /**
     * Filter the minimum scheduled date age for action deletion.
     */
    apply_filters( 'action_scheduler_retention_period', $this->month_in_seconds );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionFactory.php line 56
    /**
     * Allow 3rd party code to change the instantiated action for a given hook,
     * args, schedule and group.
     */
    apply_filters( 'action_scheduler_stored_action_instance', $action, $hook, $args, $schedule, $group, $priority );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 546
    /**
     * Fires after optimizing an attachment.
     */
    do_action( 'after_imagify_ngg_optimize_attachment', $this->id, $data );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 721
    /**
     * Fires after optimizing a thumbnail.
     */
    do_action( 'after_imagify_ngg_optimize_new_thumbnail', $this->id, $data );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 638
    /**
     * Fires after optimizing all thumbnails.
     */
    do_action( 'after_imagify_ngg_optimize_thumbnails', $this->id, $data );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 958
    /**
     * Fires after restoring an attachment.
     */
    do_action( 'after_imagify_ngg_restore_attachment', $this->id );
  • inc/deprecated/classes/class-imagify-file-attachment.php line 677
    /**
     * Fires after optimizing an attachment.
     */
    do_action( 'after_imagify_optimize_file', $this->id, $this->get_data() );
  • inc/deprecated/classes/class-imagify-attachment.php line 665
    /**
     * Fires after optimizing the missing thumbnails.
     */
    do_action( 'after_imagify_optimize_missing_thumbnails', $this->id, $result_sizes, $errors );
  • inc/deprecated/classes/class-imagify-attachment.php line 787
    /**
     * Fires after re-optimizing some thumbnails of an attachment.
     */
    do_action( 'after_imagify_reoptimize_attachment_thumbnails', $this->id, $sizes );
  • inc/deprecated/classes/class-imagify-file-attachment.php line 737
    /**
     * Fires after restoring a file.
     */
    do_action( 'after_imagify_restore_file', $this->id );
  • inc/deprecated/classes/class-imagify-attachment.php line 192
    /**
     * Triggered after updating an image width and height into its metadata.
     */
    do_action( 'after_imagify_update_metadata_size', $this->id, $size );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 986
    /**
     * This hook is documented in
     * /amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php.
     */
    apply_filters( 'as3cf_preserve_file_from_local_removal', false, $file_path );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 681
    /**
     * This filter is documented in
     * /amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php.
     */
    apply_filters( 'as3cf_upload_attachment_local_files_to_remove', $files_to_remove, $this->id, $attachment_path );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 453
    /**
     * Fires before optimizing an attachment.
     */
    do_action( 'before_imagify_ngg_optimize_attachment', $this->id );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 686
    /**
     * Fires before optimizing a thumbnail.
     */
    do_action( 'before_imagify_ngg_optimize_new_thumbnail', $this->id );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 583
    /**
     * Fires before optimizing all thumbnails.
     */
    do_action( 'before_imagify_ngg_optimize_thumbnails', $this->id );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 789
    /**
     * Fires before restoring an attachment.
     */
    do_action( 'before_imagify_ngg_restore_attachment', $this->id );
  • inc/deprecated/classes/class-imagify-file-attachment.php line 637
    /**
     * Fires before optimizing a file.
     */
    do_action( 'before_imagify_optimize_file', $this->id );
  • inc/deprecated/classes/class-imagify-attachment.php line 598
    /**
     * Fires before optimizing the missing thumbnails.
     */
    do_action( 'before_imagify_optimize_missing_thumbnails', $this->id, $missing_sizes );
  • inc/deprecated/classes/class-imagify-attachment.php line 707
    /**
     * Fires before re-optimizing some thumbnails of an attachment.
     */
    do_action( 'before_imagify_reoptimize_attachment_thumbnails', $this->id, $sizes );
  • inc/deprecated/classes/class-imagify-file-attachment.php line 720
    /**
     * Fires before restoring a file.
     */
    do_action( 'before_imagify_restore_file', $this->id );
  • inc/deprecated/classes/class-imagify-attachment.php line 169
    /**
     * Triggered before updating an image width and height into its metadata.
     */
    do_action( 'before_imagify_update_metadata_size', $this->id, $size );
  • inc/classes/class-imagify-options.php line 87
    /**
     * This filter is documented in wp-admin/includes/image.php
     */
    apply_filters( 'big_image_size_threshold', 2560, [ 0, 0 ], '', 0 );
  • inc/deprecated/3rd-party.php line 288
    /**
     * Allow to optimize the retina version generated by WP Retina x2.
     */
    apply_filters( 'do_imagify_optimize_retina', true );
  • inc/classes/class-imagify-abstract-options.php line 160
    /**
     * Filter any Imagify option after read.
     */
    apply_filters( "get_imagify_{$this->get_hook_identifier()}_{$key}", $value, $default );
  • inc/deprecated/classes/class-imagify-assets-deprecated.php line 96
    /**
     * This filter is documented in /wp-includes/script-loader.php
     */
    apply_filters( 'heartbeat_settings', [] );
  • classes/Plugin.php line 234
    /**
     * Imagify activation.
     */
    do_action( 'imagify_activation', (int) $user_id );
  • inc/classes/class-imagify-files-scan.php line 359
    /**
     * Add file names to the list of forbidden ones.
     */
    apply_filters( 'imagify_add_forbidden_file_names', [], $file_names );
  • inc/classes/class-imagify-files-scan.php line 282
    /**
     * Add folder patterns to the list of forbidden ones. Don't forget to use
     * `Imagify_Files_Scan::normalize_path_for_regex( $path )`!
     */
    apply_filters( 'imagify_add_forbidden_folder_patterns', [], $folders );
  • inc/classes/class-imagify-files-scan.php line 219
    /**
     * Add folders to the list of forbidden ones.
     */
    apply_filters( 'imagify_add_forbidden_folders', [], $folders );
  • classes/Picture/Display.php line 238
    /**
     * Allow to add more <source> tags to the <picture> tag.
     */
    apply_filters( 'imagify_additional_source_tags', '', $image );
  • classes/Job/MediaOptimization.php line 378
    /**
     * Fires after optimizing a media. Any number of files can be optimized, not
     * necessarily all of the media files.
     */
    do_action( "imagify_after_{$hook_suffix}", $this->optimization_process, $item );
  • inc/classes/class-imagify-auto-optimization.php line 428
    /**
     * Triggered after a media auto-optimization init.
     */
    do_action( 'imagify_after_auto_optimization_init', $attachment_id, $is_new_upload );
  • classes/Job/MediaOptimization.php line 360
    /**
     * Fires after optimizing a media. Any number of files can be optimized, not
     * necessarily all of the media files.
     */
    do_action( 'imagify_after_optimize', $this->optimization_process, $item );
  • classes/Optimization/File.php line 711
    /**
     * Fires after a media file optimization.
     */
    do_action( 'imagify_after_optimize_file', $this->path, $args );
  • classes/Optimization/Process/AbstractProcess.php line 769
    /**
     * Fires after optimizing a file.
     */
    do_action( 'imagify_after_optimize_size', $this, $file, $thumb_size, $optimization_level, $next_gen, $is_disabled );
  • classes/Optimization/Process/AbstractProcess.php line 999
    /**
     * Fires after restoring a media.
     */
    do_action( 'imagify_after_restore_media', $this, $response, $files, $data );
  • classes/Media/AbstractMedia.php line 472
    /**
     * Triggered after updating an image width and height into its metadata.
     */
    do_action( "imagify_after_update_{$context}_media_data_dimensions", $this->get_id(), $dimensions );
  • classes/Picture/Display.php line 79
    /**
     * Prevent the replacement of <img> tags into <picture> tags.
     */
    apply_filters( 'imagify_allow_picture_tags_for_nextgen', true );
  • inc/classes/class-imagify.php line 379
    /**
     * Filter the timeout value for any request to the API.
     */
    apply_filters( 'imagify_api_http_request_timeout', $args['timeout'], $endpoint );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 670
    /**
     * Filter the metadata stored after optimization or a restore.
     */
    apply_filters( 'imagify_as3cf_attachment_cleanup_metadata', $new_metadata, $this->id );
  • inc/3rd-party/amazon-s3-and-cloudfront/classes/Main.php line 590
    /**
     * Tell if an URL is a S3 one.
     */
    apply_filters( 'imagify_as3cf_is_s3_url', null, $url );
  • inc/classes/class-imagify-assets.php line 285
    /**
     * Triggered after Imagify CSS and JS have been enqueued.
     */
    do_action( 'imagify_assets_enqueued' );
  • inc/functions/process.php line 63
    /**
     * Filter the URL to use for async jobs.
     */
    apply_filters( 'imagify_async_job_url', $url, $args );
  • inc/classes/class-imagify-auto-optimization.php line 396
    /**
     * Allow to prevent automatic reoptimization for a specific attachment.
     */
    apply_filters( 'imagify_auto_optimize_optimized_attachment', true, $attachment_id, $metadata );
  • inc/classes/class-imagify-abstract-background-process.php line 55
    /**
     * Filter the URL to use for background processes.
     */
    apply_filters( 'imagify_background_process_url', $this->query_url, $this );
  • inc/functions/attachments.php line 188
    /**
     * Filter the backup directory path.
     */
    apply_filters( 'imagify_backup_directory', $backup_dir );
  • classes/Job/MediaOptimization.php line 270
    /**
     * Fires before optimizing a media. Any number of files can be optimized, not
     * necessarily all of the media files. If you want to return a WP_Error, use
     * the existing $wp_error object.
     */
    apply_filters( "imagify_before_{$hook_suffix}", [], $wp_error, $this->optimization_process, $item );
  • inc/classes/class-imagify-auto-optimization.php line 482
    /**
     * Fires before an attachment auto-optimization is triggered.
     */
    do_action_deprecated( 'imagify_before_auto_optimization_launch', [ $attachment_id, $is_new_upload ], '1.9', 'imagify_before_auto_optimization' );
  • classes/Job/MediaOptimization.php line 235
    /**
     * Fires before optimizing a media. Any number of files can be optimized, not
     * necessarily all of the media files. If you want to return a WP_Error, use
     * the existing $wp_error object.
     */
    apply_filters( 'imagify_before_optimize', [], $wp_error, $this->optimization_process, $item );
  • classes/Optimization/File.php line 573
    /**
     * Fires before a media file optimization.
     */
    do_action( 'imagify_before_optimize_file', $this->path, $args );
  • classes/Optimization/Process/AbstractProcess.php line 667
    /**
     * Fires before optimizing a file. Return a WP_Error object to prevent the
     * optimization.
     */
    apply_filters( 'imagify_before_optimize_size', null, $this, $file, $thumb_size, $optimization_level, $next_gen, $is_disabled );
  • classes/Optimization/Process/AbstractProcess.php line 960
    /**
     * Fires before restoring a media. Return a WP_Error object to prevent the
     * restoration.
     */
    apply_filters( 'imagify_before_restore_media', null, $this );
  • classes/Media/AbstractMedia.php line 453
    /**
     * Triggered before updating an image width and height into its metadata.
     */
    do_action( "imagify_before_update_{$context}_media_data_dimensions", $this->get_id(), $dimensions );
  • classes/Picture/Display.php line 116
    /**
     * Filter the page content after Imagify.
     */
    apply_filters( 'imagify_buffer', $buffer );
  • inc/functions/i18n.php line 325
    /**
     * Filter the number of parallel queries during the Bulk Optimization
     * (library).
     */
    apply_filters_deprecated( 'imagify_bulk_buffer_size', [ $translations['bufferSizes']['wp'] ], '1.7', 'imagify_bulk_buffer_sizes' );
  • inc/classes/class-imagify-admin-ajax-post.php line 1311
    /**
     * Filter the name of the class to use for bulk process.
     */
    apply_filters( 'imagify_bulk_class_name', $class_name, $context );
  • classes/Bulk/WP.php line 382
    /**
     * Fires before testing for file existence.
     */
    do_action( 'imagify_bulk_generate_nextgen_before_file_existence_tests', $ids, $metas, 'wp' );
  • inc/functions/i18n.php line 140
    /**
     * Filter the number of parallel queries generating WebP images by bulk method.
     */
    apply_filters( 'imagify_bulk_generate_webp_buffer_size', 4 );
  • inc/classes/class-imagify-views.php line 318
    /**
     * Filter the data to use on the bulk optimization page.
     */
    apply_filters( 'imagify_bulk_page_data', $data, $types );
  • inc/classes/class-imagify-views.php line 262
    /**
     * Filter the types to display in the bulk optimization page.
     */
    apply_filters( 'imagify_bulk_page_types', $types );
  • inc/functions/admin-stats.php line 825
    /**
     * Filter the generic stats used in the bulk optimization page.
     */
    apply_filters( 'imagify_bulk_stats', $data, $types, $args );
  • classes/Bulk/Bulk.php line 332
    /**
     * Fires after a bulk process has been manually stopped.
     */
    do_action( 'imagify_bulk_stopped', $contexts, $cancelled );
  • inc/3rd-party/amazon-s3-and-cloudfront/classes/CDN/WP/AS3.php line 469
    /**
     * Tell if a media can (and should) be sent to the CDN.
     */
    apply_filters( 'imagify_can_send_to_cdn', $can[ $this->id ], $this, $cdn_setting, $is_new_upload );
  • inc/deprecated/classes/class-imagify-as3cf-attachment.php line 944
    /**
     * Filter the result of Imagify_AS3CF_Attachment::can_send_to_s3().
     */
    apply_filters( 'imagify_can_send_to_s3', $can[ $this->id ], $this->id, $s3_object, $is_s3_setup, $copy_to_s3, $this->use_s3_settings );
  • imagify_cdn

    filter
    classes/Media/AbstractMedia.php line 211
    /**
     * The CDN to use for this media.
     */
    apply_filters( 'imagify_cdn', false, $media_id, $context );
  • inc/functions/common.php line 103
    /**
     * Filter the name of the class to use to define a context.
     */
    apply_filters( 'imagify_context_class_name', $class_name, $context );
  • inc/functions/admin-stats.php line 24
    /**
     * Filter the number of attachments. 3rd party will be able to override the
     * result.
     */
    apply_filters( 'imagify_count_attachments', false );
  • inc/functions/admin-stats.php line 92
    /**
     * Filter the number of optimized attachments with an error. 3rd party will be
     * able to override the result.
     */
    apply_filters( 'imagify_count_error_attachments', false );
  • inc/classes/class-imagify-files-stats.php line 71
    /**
     * Filter the number of images in custom folders with an error.
     */
    apply_filters( 'imagify_count_error_files', false );
  • inc/classes/class-imagify-files-stats.php line 44
    /**
     * Filter the number of images in custom folders.
     */
    apply_filters( 'imagify_count_files', false );
  • inc/classes/class-imagify-files-stats.php line 179
    /**
     * Filter the number of images without status in custom folders.
     */
    apply_filters( 'imagify_count_no_status_files', false );
  • inc/functions/admin-stats.php line 152
    /**
     * Filter the number of optimized attachments. 3rd party will be able to
     * override the result.
     */
    apply_filters( 'imagify_count_optimized_attachments', false );
  • inc/classes/class-imagify-files-stats.php line 125
    /**
     * Filter the number of optimized images in custom folders.
     */
    apply_filters( 'imagify_count_optimized_files', false );
  • inc/functions/admin-stats.php line 270
    /**
     * Filter the query to get all optimized attachments. 3rd party will be able to
     * override the result.
     */
    apply_filters( 'imagify_count_saving_data', false );
  • inc/classes/class-imagify-files-stats.php line 98
    /**
     * Filter the number of images successfully optimized by Imagify in custom
     * folders.
     */
    apply_filters( 'imagify_count_success_files', false );
  • inc/functions/admin-stats.php line 206
    /**
     * Filter the number of unoptimized attachments. 3rd party will be able to
     * override the result.
     */
    apply_filters( 'imagify_count_unoptimized_attachments', false );
  • inc/classes/class-imagify-files-stats.php line 152
    /**
     * Filter the number of unoptimized images in custom folders.
     */
    apply_filters( 'imagify_count_unoptimized_files', false );
  • classes/Optimization/Process/AbstractProcess.php line 1159
    /**
     * In case of a dynamic thumbnail we don’t know if the image must be croped
     * or resized.
     */
    apply_filters( 'imagify_crop_thumbnail', null, $size, $size_data, $media );
  • inc/classes/class-imagify.php line 517
    /**
     * Tell which http version to use with cURL during image optimization.
     */
    apply_filters( 'imagify_curl_http_version_1_0', false );
  • inc/classes/class-imagify-db.php line 44
    /**
     * Filter the SQL query allowing to remove the limit on JOINs.
     */
    apply_filters( 'imagify_db_unlimit_joins_query', $query );
  • views/page-settings.php line 174
    /**
     * List of partners affected by this option. For internal use only.
     */
    apply_filters( 'imagify_deactivatable_partners', [] );
  • imagify.php line 146
    /**
     * Imagify deactivation.
     */
    do_action( 'imagify_deactivation' );
  • inc/classes/class-imagify-abstract-options.php line 393
    /**
     * Allow to add more default option values.
     */
    apply_filters( "imagify_default_{$this->get_hook_identifier()}_values", [], $default_values );
  • inc/functions/media.php line 21
    /**
     * Triggered bifore a media is deleted.
     */
    do_action( 'imagify_delete_media', $process );
  • inc/functions/common.php line 483
    /**
     * Fires when a deprecated class is called.
     */
    do_action( 'imagify_deprecated_class_run', $class_name, $version, $replacement, $parent_class );
  • inc/functions/common.php line 499
    /**
     * Filters whether to trigger an error for deprecated classes.
     */
    apply_filters( 'imagify_deprecated_class_trigger_error', true );
  • classes/WriteFile/AbstractWriteDirConfFile.php line 239
    /**
     * Filter the contents to add to the directory conf file.
     */
    apply_filters( 'imagify_dir_conf_contents', $contents );
  • classes/WriteFile/AbstractWriteDirConfFile.php line 147
    /**
     * Filter the path to the directory conf file.
     */
    apply_filters( 'imagify_dir_conf_path', $file_path );
  • classes/WriteFile/AbstractWriteDirConfFile.php line 379
    /**
     * Disable directory conf edition.
     */
    apply_filters( 'imagify_disable_dir_conf_edition', false );
  • classes/Notices/Notices.php line 199
    /**
     * Fires when a notice is dismissed.
     */
    do_action( 'imagify_dismiss_notice', $notice );
  • inc/functions/process.php line 28
    /**
     * Filter the arguments used to launch an async job.
     */
    apply_filters( 'imagify_do_async_job_args', $args );
  • inc/classes/class-imagify-abstract-cron.php line 186
    /**
     * Filter the recurrence of the event.
     */
    apply_filters( 'imagify_event_recurrence', $this->event_recurrence, $this->get_event_name() );
  • inc/classes/class-imagify-abstract-cron.php line 208
    /**
     * Filter the time at which the event is triggered (WordPress time).
     */
    apply_filters( 'imagify_event_time', $this->event_time, $this->get_event_name() );
  • inc/classes/class-imagify-custom-folders.php line 50
    /**
     * Filter the backup directory path (custom folders).
     */
    apply_filters( 'imagify_files_backup_directory', $backup_dir );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 482
    /**
     * Filter the optimization data of the full size.
     */
    apply_filters( 'imagify_fill_ngg_full_size_data', $data, $response, $this->id, $attachment_path, $attachment_url, 'full', $optimization_level );
  • inc/admin/upgrader.php line 56
    /**
     * Triggered on Imagify first install (site level).
     */
    do_action( 'imagify_first_install' );
  • inc/admin/upgrader.php line 27
    /**
     * Triggered on Imagify first install (network).
     */
    do_action( 'imagify_first_network_install' );
  • inc/deprecated/deprecated.php line 1097
    /**
     * Provide custom folder type data.
     */
    apply_filters( 'imagify_get_folder_type_data', [], $context );
  • inc/classes/class-imagify-files-stats.php line 312
    /**
     * Filter the optimized sizes of all successfully optimized files.
     */
    apply_filters( 'imagify_get_optimized_files_size', false );
  • inc/classes/class-imagify-files-stats.php line 339
    /**
     * Filter the original sizes of all successfully optimized files.
     */
    apply_filters( 'imagify_get_original_files_size', false );
  • classes/Optimization/Process/AbstractProcess.php line 819
    /**
     * Allow to not store next-gen images that are larger than their non-next-gen
     * version.
     */
    apply_filters( 'imagify_keep_large_next_gen', true );
  • classes/Plugin.php line 154
    /**
     * Fires when Imagify is fully loaded.
     */
    do_action( 'imagify_loaded', $this );
  • inc/functions/common.php line 368
    /**
     * Filter the locale used by Imagify.
     */
    apply_filters( 'imagify_locale', $locale );
  • classes/Media/AbstractMedia.php line 550
    /**
     * Filter the media files.
     */
    apply_filters( 'imagify_media_files', $files, $this );
  • inc/classes/class-imagify-assets.php line 316
    /**
     * Triggered after Imagify CSS and JS have been enqueued for the media modal.
     */
    do_action( 'imagify_media_modal_assets_enqueued' );
  • inc/classes/class-imagify-filesystem.php line 1133
    /**
     * Filter the regex pattern used to match the uploads subdir on multisite in a
     * file path. Pattern delimiter is `Imagify_Filesystem::PATTERN_DELIMITER`.
     * Important: lowercase, no heading slash, mandatory trailing slash.
     */
    apply_filters( 'imagify_multisite_uploads_subdir_pattern', $pattern );
  • inc/admin/upgrader.php line 40
    /**
     * Triggered on Imagify upgrade (network).
     */
    do_action( 'imagify_network_upgrade', $network_version, $site_version );
  • inc/classes/class-imagify-auto-optimization.php line 339
    /**
     * Fires when a new attachment is uploaded but auto-optimization is disabled.
     */
    do_action( 'imagify_new_attachment_auto_optimization_disabled', $attachment_id, $metadata );
  • inc/common/attachments.php line 105
    /**
     * Filters the array of next gen formats to generate with Imagify
     */
    apply_filters( 'imagify_nextgen_images_formats', $formats );
  • inc/3rd-party/nextgen-gallery/inc/functions/admin-stats.php line 140
    /**
     * Filter the query to get all optimized NGG attachments. 3rd party will be
     * able to override the result.
     */
    apply_filters( 'imagify_ngg_count_saving_data', false );
  • inc/classes/class-imagify-auto-optimization.php line 382
    /**
     * Fires when an attachment is updated but not optimized yet.
     */
    do_action( 'imagify_not_optimized_attachment_updated', $attachment_id, $metadata );
  • inc/functions/admin.php line 172
    /**
     * Provide a URL to a page displaying optimization errors for the given
     * context.
     */
    apply_filters( 'imagify_optimization_errors_url', '', $arg );
  • inc/deprecated/deprecated.php line 548
    /**
     * Filter the context used for the optimization.
     */
    apply_filters( 'imagify_optimize_attachment_context', $context, $attachment_id, $identifier );
  • classes/Optimization/Process/AbstractProcess.php line 456
    /**
     * Filter the data sent to the optimization process.
     */
    apply_filters( 'imagify_optimize_sizes_args', [], $args, $this, $sizes, $optimization_level );
  • inc/functions/admin-stats.php line 232
    /**
     * Filter the percent of optimized attachments. 3rd party will be able to
     * override the result.
     */
    apply_filters( 'imagify_percent_optimized_attachments', false );
  • inc/classes/class-imagify-files-stats.php line 273
    /**
     * Filter the percent of optimized images in custom folders.
     */
    apply_filters( 'imagify_percent_optimized_files', false );
  • classes/Picture/Display.php line 208
    /**
     * Filter the attributes to be added to the <picture> tag.
     */
    apply_filters( 'imagify_picture_attributes', $attributes, $image );
  • classes/Picture/Display.php line 392
    /**
     * Filter the attributes to be added to the <img> tag.
     */
    apply_filters( 'imagify_picture_img_attributes', $attributes, $image );
  • classes/Picture/Display.php line 346
    /**
     * Filter the attributes to be added to the <source> tag.
     */
    apply_filters( 'imagify_picture_source_attributes', $attributes, $image );
  • inc/functions/attachments.php line 111
    /**
     * Filter the post statuses Imagify is allowed to optimize.
     */
    apply_filters( 'imagify_post_statuses', $statuses );
  • classes/Optimization/Process/AbstractProcess.php line 1731
    /**
     * Tell if a next-gen version can be created for the given file. The file is an
     * image.
     */
    apply_filters( 'imagify_pre_can_create_next_gen_version', $can, $file_path );
  • inc/functions/common.php line 157
    /**
     * Filter the name of the class to use for the optimization.
     */
    apply_filters( 'imagify_process_class_name', $class_name, $context );
  • inc/functions/admin.php line 374
    /**
     * Filter the URL to redirect to.
     */
    apply_filters( 'imagify_redirect_to', $redirect );
  • inc/functions/common.php line 27
    /**
     * Register new contexts.
     */
    apply_filters( 'imagify_register_context', [] );
  • inc/classes/class-imagify-abstract-options.php line 439
    /**
     * Allow to filter the "reset" option values.
     */
    apply_filters( "imagify_reset_{$this->get_hook_identifier()}_values", $reset_values );
  • inc/classes/class-imagify-settings.php line 153
    /**
     * Filter settings when saved via the settings page.
     */
    apply_filters( 'imagify_settings_on_save', $values );
  • views/part-settings-webp.php line 181
    /**
     * Add more information about WebP.
     */
    do_action( 'imagify_settings_webp_info' );
  • inc/classes/class-imagify-filesystem.php line 791
    /**
     * Filter the path to the site's root.
     */
    apply_filters( 'imagify_site_root', null );
  • inc/classes/class-imagify-filesystem.php line 885
    /**
     * Filters the URL of the site's root.
     */
    apply_filters( 'imagify_site_root_url', $root_url, $blog_id );
  • inc/functions/admin-stats.php line 686
    /**
     * Allow to provide all files size and the number of thumbnails.
     */
    apply_filters( 'imagify_total_attachment_filesize', false, $image_id, $files, $image_ids );
  • inc/functions/attachments.php line 388
    /**
     * Filter the unoptimized attachments limit query.
     */
    apply_filters( 'imagify_unoptimized_attachment_limit', 10000 );
  • inc/admin/upgrader.php line 69
    /**
     * Triggered on Imagify upgrade (site level).
     */
    do_action( 'imagify_upgrade', $network_version, $site_version );
  • inc/3rd-party/hosting/siteground.php line 65
    /**
     * Filter the User-Agent used for requests "to self".
     */
    apply_filters( 'imagify_user_agent_for_internal_requests', $user_agent, $r, $url );
  • classes/Picture/Display.php line 453
    /**
     * Filter the images to display with a <picture> tag.
     */
    apply_filters( 'imagify_webp_picture_images_to_display', $images, $content );
  • classes/Picture/Display.php line 656
    /**
     * Filter a processed image tag.
     */
    apply_filters( 'imagify_webp_picture_process_image', $data, $image );
  • classes/Optimization/Process/AbstractProcess.php line 2026
    /**
     * Filter the optimization data.
     */
    apply_filters( "imagify{$_unauthorized}_file_optimization_data", $data, $response, $size, $level, $this->get_data() );
  • classes/Imagifybeat/Core.php line 109
    /**
     * Fires when Imagifybeat ticks in logged-in environments.
     */
    do_action( 'imagifybeat_tick', $response, $screen_id );
  • inc/classes/class-imagify-settings.php line 362
    /**
     * This filter is documented in /wp-admin/options.php.
     */
    apply_filters( "option_page_capability_{$this->settings_group}", 'manage_network_options' );
  • inc/Dependencies/ActionScheduler/functions.php line 40
    /**
     * Provides an opportunity to short-circuit the default process for enqueuing
     * async actions.
     */
    apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique );
  • inc/Dependencies/ActionScheduler/functions.php line 232
    /**
     * Provides an opportunity to short-circuit the default process for enqueuing
     * cron actions.
     */
    apply_filters( 'pre_as_schedule_cron_action', null, $timestamp, $schedule, $hook, $args, $group, $priority, $unique );
  • inc/Dependencies/ActionScheduler/functions.php line 165
    /**
     * Provides an opportunity to short-circuit the default process for enqueuing
     * recurring actions.
     */
    apply_filters( 'pre_as_schedule_recurring_action', null, $timestamp, $interval_in_seconds, $hook, $args, $group, $priority, $unique );
  • inc/Dependencies/ActionScheduler/functions.php line 91
    /**
     * Provides an opportunity to short-circuit the default process for enqueuing
     * single actions.
     */
    apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique );
  • inc/classes/class-imagify-abstract-options.php line 140
    /**
     * Pre-filter any Imagify option before read.
     */
    apply_filters( "pre_get_imagify_{$this->get_hook_identifier()}_{$key}", null, $default );
  • inc/classes/class-imagify.php line 451
    /**
     * Allows to mock Imagify calls to the API.
     */
    apply_filters( 'pre_imagify_request', null, $url, $args );
  • inc/classes/class-imagify-admin-ajax-post.php line 1122
    /**
     * This hook is documented in wp-admin/admin-ajax.php.
     */
    do_action( "wp_ajax_{$action}" );
  • inc/classes/class-imagify-requirements.php line 77
    /**
     * This filter is documented in /wp-includes/media.php.
     */
    apply_filters( 'wp_image_editors', [ 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD' ] );
  • classes/Picture/Display.php line 735 · used in 3 places
    apply_filters( 'imagify_cdn_source_url', '' );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php line 163 · used in 2 places
    do_action( 'action_scheduler_after_process_queue' );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php line 151 · used in 2 places
    do_action( 'action_scheduler_before_process_queue' );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Store.php line 445 · used in 2 places
    do_action( 'action_scheduler_bulk_cancel_actions', $action_ids );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php line 701 · used in 2 places
    do_action( 'action_scheduler_canceled_action', $action_id );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php line 803 · used in 2 places
    do_action( 'action_scheduler_deleted_action', $action_id );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php line 370 · used in 2 places
    do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_ListTable.php line 279 · used in 2 places
    apply_filters( 'action_scheduler_list_table_column_args', '', $row );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 275 · used in 2 places
    apply_filters( 'action_scheduler_maximum_execution_time', $time_limit );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_DBStore.php line 133 · used in 2 places
    do_action( 'action_scheduler_stored_action', $action_id );
  • inc/Dependencies/ActionScheduler/classes/migration/ActionMigrator.php line 111 · used in 2 places
    do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination );
  • inc/Dependencies/ActionScheduler/lib/WP_Async_Request.php line 152 · used in 2 places
    apply_filters( 'https_local_ssl_verify', false );
  • inc/classes/class-imagify-settings.php line 375 · used in 2 places
    apply_filters_deprecated( 'whitelist_options', [ [] ], '5.5.0', 'allowed_options', __( 'Please consider writing more inclusive code.' ) );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_ListTable.php line 440
    apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 40
    apply_filters( 'action_scheduler_admin_view_class', 'ActionScheduler_AdminView' );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 104
    do_action( 'action_scheduler_after_execute', $action_id, $action, $context );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php line 84
    apply_filters( 'action_scheduler_allow_async_request_runner', $allow );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php line 91
    apply_filters( 'action_scheduler_async_request_sleep_seconds', 5, $this );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 91
    do_action( 'action_scheduler_before_execute', $action_id, $context );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 99
    do_action( 'action_scheduler_begin_execute', $action_id, $context );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 145
    apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_ListTable.php line 352
    apply_filters( 'action_scheduler_enable_recreate_data_store', true );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 95
    do_action( 'action_scheduler_execution_ignored', $action_id, $context );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 226
    do_action( 'action_scheduler_failed_action', $action_id, $timeout );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 179
    do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 207
    apply_filters( 'action_scheduler_failure_period', $time_limit );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler.php line 239
    apply_filters( 'action_scheduler_load_deprecated_functions', true );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Lock.php line 69
    apply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Lock.php line 59
    apply_filters( 'action_scheduler_lock_duration', self::$lock_duration, $lock_type );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Logger.php line 24
    apply_filters( 'action_scheduler_logger_class', 'ActionScheduler_wpCommentLogger' );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore.php line 1056
    apply_filters( 'action_scheduler_maximum_args_length', 191 );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 320
    apply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 360
    apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this );
  • inc/Dependencies/ActionScheduler/classes/migration/Controller.php line 220
    apply_filters( 'action_scheduler_migrate_data_store', false );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_DataController.php line 60
    apply_filters( 'action_scheduler_migration_dependencies_met', true );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 195
    apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshold_min );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 200
    apply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 174
    apply_filters( 'action_scheduler_pastdue_actions_check_pre', null );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 240
    do_action( 'action_scheduler_pastdue_actions_extra_notices', $query_args );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 168
    apply_filters( 'action_scheduler_pastdue_actions_min', 1 );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AdminView.php line 167
    apply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostStatusRegistrar.php line 31
    apply_filters( 'action_scheduler_post_status_args', $args );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostStatusRegistrar.php line 46
    apply_filters( 'action_scheduler_post_status_failed_labels', $labels );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostStatusRegistrar.php line 61
    apply_filters( 'action_scheduler_post_status_running_labels', $labels );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_PostTypeRegistrar.php line 50
    apply_filters( 'action_scheduler_post_type_args', $args );
  • inc/Dependencies/ActionScheduler/action-scheduler.php line 67
    do_action( 'action_scheduler_pre_theme_init' );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php line 157
    apply_filters( 'action_scheduler_queue_runner_batch_size', 25 );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php line 40
    apply_filters( 'action_scheduler_queue_runner_class', 'ActionScheduler_QueueRunner' );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 251
    apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 278
    apply_filters( 'action_scheduler_queue_runner_time_limit', $time_limit );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 193
    do_action( 'action_scheduler_reset_action', $action_id );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_AsyncRequest_QueueRunner.php line 48
    do_action( 'action_scheduler_run_queue', 'Async Request' );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php line 83
    apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Store.php line 501
    apply_filters( 'action_scheduler_store_class', self::DEFAULT_CLASS );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_ActionFactory.php line 41
    apply_filters( 'action_scheduler_stored_action_class', $action_class, $status, $hook, $args, $schedule, $group );
  • inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_TaxonomyRegistrar.php line 30
    apply_filters( 'action_scheduler_taxonomy_args', $args );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueCleaner.php line 173
    apply_filters( 'action_scheduler_timeout_period', $time_limit );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_FatalErrorMonitor.php line 91
    do_action( 'action_scheduler_unexpected_shutdown', $this->action_id, $error );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php line 290
    apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) );
  • inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php line 146
    do_action( 'action_scheduler/created_table', $updated_table, $table );
  • inc/Dependencies/ActionScheduler/classes/migration/DryRun_ActionMigrator.php line 24
    do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id );
  • inc/Dependencies/ActionScheduler/classes/migration/ActionMigrator.php line 88
    do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination );
  • inc/Dependencies/ActionScheduler/classes/migration/ActionMigrator.php line 119
    do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination );
  • inc/Dependencies/ActionScheduler/classes/migration/Runner.php line 161
    do_action( 'action_scheduler/migration_batch_complete', $action_ids );
  • inc/Dependencies/ActionScheduler/classes/migration/Scheduler.php line 114
    apply_filters( 'action_scheduler/migration_batch_size', 250 );
  • inc/Dependencies/ActionScheduler/classes/migration/Runner.php line 129
    do_action( 'action_scheduler/migration_batch_starting', $action_ids );
  • inc/Dependencies/ActionScheduler/classes/migration/Scheduler.php line 57
    do_action( 'action_scheduler/migration_complete' );
  • inc/Dependencies/ActionScheduler/classes/migration/Controller.php line 166
    apply_filters( 'action_scheduler/migration_config', $config );
  • inc/Dependencies/ActionScheduler/classes/migration/Scheduler.php line 105
    apply_filters( 'action_scheduler/migration_interval', 0 );
  • inc/Dependencies/ActionScheduler/classes/migration/ActionMigrator.php line 76
    do_action( 'action_scheduler/no_action_to_migrate', $source_action_id, $this->source, $this->destination );
  • inc/Dependencies/ActionScheduler/classes/WP_CLI/ProgressBar.php line 87
    do_action( 'action_scheduler/progress_tick', $this->total_ticks );
  • inc/Dependencies/ActionScheduler/classes/ActionScheduler_Compatibility.php line 61
    apply_filters( 'admin_memory_limit', $wp_max_limit );
  • inc/classes/class-imagify-settings.php line 386
    apply_filters( 'allowed_options', $allowed_options );
  • inc/classes/class-imagify.php line 495
    apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), $url );
  • inc/classes/class-imagify.php line 390
    apply_filters( 'https_ssl_verify', false );
  • classes/Tools/ResetInternalState.php line 64
    do_action( 'imagify_after_reset_internal_state' );
  • classes/Picture/Display.php line 70
    apply_filters_deprecated( 'imagify_allow_picture_tags_for_webp', [ true ], '2.2', 'imagify_allow_picture_tags_for_nextgen' );
  • inc/classes/class-imagify-db.php line 91
    apply_filters( 'imagify_db_in_clause_sql_budget', $sql_budget );
  • classes/Abilities/AbstractAbility.php line 108
    do_action( 'imagify_mcp_ability_executed', $this->get_id(), $this->get_name(), $result, $start_time, $args );
  • classes/Abilities/AbstractAbility.php line 90
    do_action( 'imagify_mcp_permission_denied', $this->get_id(), $this->get_name(), $this->get_required_capability() );
  • classes/Optimization/Process/AbstractProcess.php line 1720
    apply_filters_deprecated( 'imagify_pre_can_create_webp_version', [ null, $file_path ], '2.2', 'imagify_pre_can_create_next_gen_version' );
  • views/page-settings.php line 100
    do_action( 'imagify_settings_after_lossless' );
  • inc/deprecated/classes/class-imagify-ngg-attachment.php line 925
    do_action( 'ngg_recovered_image', $image_data );
  • inc/3rd-party/wp-rocket/classes/Main.php line 50
    apply_filters( 'rocket_container', null );

Generated from Imagify Image Optimization: Optimize Images's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: