a3 Lazy Load 2.7.9 has 35 actions and 54 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.
// Run your own code when a3 Lazy Load fires an action
add_action( 'after_a3_lazy_load_xt_script', function() {
// Your code runs here.
}, 10, 1 );
// Change a value a3 Lazy Load is about to use
add_filter( 'a3_lazyload_addons_tabs', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
/** * extension_boxes ============================================= array ( * 'id' => 'box_id' : Enter unique your box id 'content' => * 'html_content' : (required) Enter the html content to show inside the * box 'css' => 'custom style' : custom style for the box container ) */ apply_filters( "{$this->plugin_name}_plugin_extension_boxes", array() ); -
a3_lazyload_addons_tabs
filter/** * Example about addon data */ apply_filters( 'a3_lazyload_addons_tabs', array() ); -
/** * Example about addon data */ apply_filters( 'a3_lazyload_third_party_addons', array() ); -
do_action( "{$this->plugin_name}_settings_{sanitize_title($end_heading_id)}_after" ); -
do_action( "{$this->plugin_name}_settings_{sanitize_title($end_heading_id)}_end" ); -
a3_lazy_load_run_filter
filterapply_filters( 'a3_lazy_load_run_filter', $run_filter ); -
do_action( "{$this->plugin_name}_get_all_settings" ); -
a3_lazy_load_effect_css
filterapply_filters( 'a3_lazy_load_effect_css', A3_LAZY_LOAD_CSS_URL.'/jquery.lazyloadxt.fadein.css' ); -
a3_lazy_load_main_script
filterapply_filters( 'a3_lazy_load_main_script', A3_LAZY_LOAD_JS_URL.'/jquery.lazyloadxt.extra'.$suffix.'.js' ); -
apply_filters( "{$this->option_name}_settings_fields", $this->form_fields ); -
apply_filters( "{$this->plugin_name}_{$id_attribute}_get_setting", $current_setting ); -
apply_filters( "{$this->plugin_name}_{$option_name}_default_settings", $default_settings ); -
apply_filters( "{$this->plugin_name}_{$option_name}_get_settings", $current_settings ); -
apply_filters( "{$this->plugin_name}_{$setting_id}_pro_plugin_page_url", apply_filters( $this->plugin_name . '_pro_plugin_page_url', $this->pro_plugin_page_url ) ); -
apply_filters( "{$this->plugin_name}_{$setting_id}_pro_version_name", apply_filters( $this->plugin_name . '_pro_version_name', __( 'Pro Version', 'a3-lazy-load' ) ) ); -
do_action( "{$this->plugin_name}_admin_field_{$value['type']}", $value ); -
apply_filters( "{$this->plugin_name}_admin_pages", $this->admin_pages ); -
do_action( "{$this->plugin_name}_after_settings_save_reset" ); -
do_action( "{$this->plugin_name}_before_settings_save_reset" ); -
apply_filters( "{$this->plugin_name}_blue_message_box", $message ); -
apply_filters( "{$this->plugin_name}_border_styles", $border_styles ); -
apply_filters( "{$this->plugin_name}_build_sass", $sass_ext ); -
apply_filters( "{$this->plugin_name}_default_fonts", $this->default_fonts ); -
apply_filters( "{$this->plugin_name}_font_weights", $font_weights ); -
apply_filters( "{$this->plugin_name}_generate_background_color_css", $return_css, $option, $transparency ); -
apply_filters( "{$this->plugin_name}_generate_border_corner_css", $border_corner_css, $option ); -
apply_filters( "{$this->plugin_name}_generate_border_css", $border_css, $option ); -
apply_filters( "{$this->plugin_name}_generate_border_style_css", $border_style_css, $option ); -
apply_filters( "{$this->plugin_name}_generate_font_css", $font_css, $option, $em ); -
apply_filters( "{$this->plugin_name}_generate_shadow_css", $shadow_css, $option ); -
apply_filters( "{$this->plugin_name}_google_fonts", $this->google_fonts ); -
do_action( "{$this->plugin_name}_init_scripts" ); -
do_action( "{$this->plugin_name}_init_styles" ); -
apply_filters( "{$this->plugin_name}_new_google_fonts_enable", true ); -
do_action( "{$this->plugin_name}_page_end" ); -
do_action( "{$this->plugin_name}_page_start" ); -
apply_filters( "{$this->plugin_name}_plugin_extension_end", $output ); -
apply_filters( "{$this->plugin_name}_plugin_extension_start", $output ); -
apply_filters( "{$this->plugin_name}_pro_fields_after", '</div>' ); -
apply_filters( "{$this->plugin_name}_pro_fields_before", '<div class="pro_feature_fields">'. $this->upgrade_top_message() ); -
apply_filters( "{$this->plugin_name}_pro_plugin_page_url", $this->pro_plugin_page_url ); -
apply_filters( "{$this->plugin_name}_pro_version_name", __( 'Pro Version', 'a3-lazy-load' ) ); -
do_action( "{$this->plugin_name}_reset_setting_{$value['type']}", $value ); -
do_action( "{$this->plugin_name}_save_setting_{$value['type']}", $value ); -
do_action( "{$this->plugin_name}_set_default_settings" ); -
do_action( "{$this->plugin_name}_settings_{sanitize_title($value['id'])}_before" ); -
do_action( "{$this->plugin_name}_settings_{sanitize_title($value['id'])}_start" ); -
do_action( "{$this->plugin_name}_settings_init" ); -
apply_filters( "{$this->plugin_name}_upgrade_top_message", $upgrade_top_message, $setting_id ); -
do_action( "{$this->plugin_name}-{$current_page}_page_end" ); -
do_action( "{$this->plugin_name}-{$current_page}_page_start" ); -
do_action( "{$this->plugin_name}-{$current_page}_settings_tabs" ); -
do_action( "{$this->plugin_name}-{$current_page}_settings_tabs_{$current_tab}" ); -
apply_filters( "{$this->plugin_name}-{$current_page}_settings_tabs_array", array() ); -
do_action( "{$this->plugin_name}-{$current_page}_tab_end" ); -
do_action( "{$this->plugin_name}-{$current_page}_tab_start" ); -
do_action( "{$this->plugin_name}-{$current_tab}_settings_subtabs" ); -
apply_filters( "{$this->plugin_name}-{$current_tab}_settings_subtabs_array", array() ); -
do_action( "{$this->plugin_name}-{$current_tab}_settings_subtabs_content" ); -
do_action( "{$this->plugin_name}-{$current_tab}_tab_end" ); -
do_action( "{$this->plugin_name}-{$current_tab}_tab_start" ); -
do_action( "{$this->plugin_name}-{trim($form_key)}_after_settings_save" ); -
do_action( "{$this->plugin_name}-{trim($form_key)}_before_settings_save" ); -
do_action( "{$this->plugin_name}-{trim($form_key)}_settings_end" ); -
do_action( "{$this->plugin_name}-{trim($form_key)}_settings_init" ); -
do_action( "{$this->plugin_name}-{trim($form_key)}_settings_start" ); -
a3_admin_ui_script_params
filterapply_filters( 'a3_admin_ui_script_params', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'plugin' => $this->plugin_name, 'security' => wp_create_nonce( $this->plugin_name . '_a3_admin_ui_event' ), 'rtl' => $rtl, ) ); -
a3_lazy_load_effect
filterapply_filters( 'a3_lazy_load_effect', $effect ); -
a3_lazy_load_extend_script
filterapply_filters( 'a3_lazy_load_extend_script', A3_LAZY_LOAD_JS_URL.'/jquery.lazyloadxt.extend.js' ); -
a3_lazy_load_html_after
filterapply_filters( 'a3_lazy_load_html_after', $content ); -
a3_lazy_load_html_before
filterapply_filters( 'a3_lazy_load_html_before', $content ); -
apply_filters( 'a3_lazy_load_iframe_placeholder_url', 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' ); -
a3_lazy_load_images_after
filterapply_filters( 'a3_lazy_load_images_after', $content ); -
a3_lazy_load_images_before
filterapply_filters( 'a3_lazy_load_images_before', $content ); -
a3_lazy_load_placeholder_url
filterapply_filters( 'a3_lazy_load_placeholder_url', A3_LAZY_LOAD_IMAGES_URL . '/lazy_placeholder.gif' ); -
apply_filters( 'a3_lazy_load_skip_images_classes', $a3_lazy_load_global_settings['a3l_skip_image_with_class'] ); -
apply_filters( 'a3_lazy_load_skip_videos_classes', $a3_lazy_load_global_settings['a3l_skip_video_with_class'] ); -
a3_lazy_load_videos_after
filterapply_filters( 'a3_lazy_load_videos_after', $content ); -
a3_lazy_load_videos_before
filterapply_filters( 'a3_lazy_load_videos_before', $content ); -
a3_lazyload_extend_params
filterapply_filters( 'a3_lazyload_extend_params', array( 'edgeY' => (int) $a3_lazy_load_global_settings['a3l_edgeY'], 'horizontal_container_classnames' => $horizontal_container_classnames ) ); -
a3_lazyload_params
filterapply_filters( 'a3_lazyload_params', array( 'apply_images' => $a3_lazy_load_global_settings['a3l_apply_to_images'], 'apply_videos' => $a3_lazy_load_global_settings['a3l_apply_to_videos'] ) ); -
after_a3_lazy_load_xt_script
actiondo_action( 'after_a3_lazy_load_xt_script' ); -
after_a3_lazy_load_xt_style
actiondo_action( 'after_a3_lazy_load_xt_style' ); -
do_action( 'before_a3_lazy_load_xt_script' ); -
before_a3_lazy_load_xt_style
actiondo_action( 'before_a3_lazy_load_xt_style' ); -
plugin_locale
filterapply_filters( 'plugin_locale', get_locale(), 'a3-lazy-load' );
Generated from a3 Lazy Load'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: