Ajax Load More 8.0.1 has 15 actions and 103 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 Ajax Load More fires an action
add_action( 'alm_enqueue_external_scripts', function( $atts ) {
// Your code runs here.
}, 10, 1 );
// Change a value Ajax Load More is about to use
add_filter( 'alm_acf_preloaded', function( $query_args, $repeater, $theme_repeater ) {
// Change $query_args here.
return $query_args;
}, 10, 3 );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
-
alm_acf_preloaded
filter/** * Preloaded ACF Filter. */ apply_filters( 'alm_acf_preloaded', $query_args, $repeater, $theme_repeater ); -
alm_debug
filter/** * ALM Core Filter Hook */ apply_filters( 'alm_debug', false ); -
alm_modify_query_args
filter/** * ALM Core Query Filter Hook */ apply_filters( 'alm_modify_query_args', $args, $slug ); -
alm_query_after_{$id}
filter/** * ALM Core Filter Hook to modify the returned query */ apply_filters( "alm_query_after_{$id}", $alm_query, $post_id ); -
alm_query_args_{$id}
filter/** * ALM Core Query Filter Hook. */ apply_filters( "alm_query_args_{$id}", $args, $post_id ); -
alm_users_preloaded
filter/** * Preloaded Users Filter. */ apply_filters( 'alm_users_preloaded', $query_args, $preloaded_amount, $repeater, $theme_repeater ); -
alm_after_button
filter/** * After Button ALM Core Filter Hook */ apply_filters( 'alm_after_button', '' ); -
alm_after_container
filter/** * After Container. ALM Core Filter Hook. */ apply_filters( 'alm_after_container', '' ); -
alm_before_button
filter/** * Before Button ALM Core Filter Hook */ apply_filters( 'alm_before_button', '' ); -
alm_comments_preloaded
filter/** * Preloaded Comments Filter. */ apply_filters( 'alm_comments_preloaded', $query_args ); -
alm_enqueue_external_scripts
action/** * ALM Core Action. Load JavaScript located in external add-ons and extensions. */ do_action( 'alm_enqueue_external_scripts', $atts ); -
alm_init_nextpage
filter/** * Next Page Add-on hook. */ apply_filters( 'alm_init_nextpage', $nextpage_post_id, $nextpage_start, $nextpage_is_paged, $paging, $div_id, $id, $nextpage_type ); -
alm_nextpage_noscript_paging
filter/** * Nextpage Core Filer Hook */ apply_filters( 'alm_nextpage_noscript_paging', $query_args['post_id'], $query_args['id'] ); -
alm_progress_css
filter/** * ALM Core Filter Hook. Progress Bar CSS. */ apply_filters( 'alm_progress_css', self::$counter, $progress_bar, $progress_bar_color ); -
/** * ALM Core Filter Hook */ apply_filters( "alm_query_args_{$params['id']}", $args, $params['post_id'] ); -
alm_settings
filter/** * Override default ALM Settings. ALM Core Filter Hook. */ apply_filters( 'alm_settings', $options ); -
alm_shortcode_defaults
filter/** * Set default shortcode values that can be over written via shortcode atts ALM * Core Filter Hook */ apply_filters( 'alm_shortcode_defaults', [] ); -
alm_single_post_args
filter/** * Single Post Add-on hook Hijack $args and and return single post query args. */ apply_filters( 'alm_single_post_args', $single_post_id, $post_type ); -
alm_terms_preloaded
filter/** * Preloaded Terms Filter. */ apply_filters( 'alm_terms_preloaded', $query_args, $preloaded_amount, $repeater, $theme_repeater ); -
alm_woo_config
filter/** * WooCommerce hook to filter columns, per_page, classes etc */ apply_filters( 'alm_woo_config', $woo_config ); -
/** * Filters the parameters sent in the API request. */ apply_filters( 'edd_sl_plugin_updater_api_params', $api_params, $this->api_data, $this->plugin_file ); -
/** * Fires after the $edd_plugin_data is setup. */ do_action( 'post_edd_sl_plugin_updater_setup', $edd_plugin_data ); -
alm_user_role
filterapply_filters( 'alm_user_role', 'edit_theme_options' ); -
active_plugins
filterapply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
alm_button_label
filterapply_filters( 'alm_button_label', __( 'Load More', 'ajax-load-more' ) ); -
alm_get_custom_repeaters
actiondo_action( 'alm_get_custom_repeaters' ); -
alm_get_unlimited_repeaters
actiondo_action( 'alm_get_unlimited_repeaters' ); -
alm_list_theme_repeaters
actiondo_action( 'alm_list_theme_repeaters' ); -
alm_blocks_enabled
filterapply_filters( 'alm_blocks_enabled', true ); -
alm_cta_inc
filterapply_filters( 'alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, true, $args ); -
alm_cta_inc
actiondo_action( 'alm_cta_inc', $cta_repeater, $cta_theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, false, $args ); -
alm_disable_noscript
filterapply_filters( 'alm_disable_noscript', false ); -
alm_disable_noscript_{$id}
filterapply_filters( "alm_disable_noscript_{$id}", false ); -
alm_max_sticky_per_page
filterapply_filters( 'alm_max_sticky_per_page', 50 ); -
alm_nextpage_title_template
filterapply_filters( 'alm_nextpage_title_template', '' ); -
apply_filters( 'alm_single_post_preview_button_label', 'Continue Reading' ); -
alm_a11y_focus
filterapply_filters( 'alm_a11y_focus', true ); -
alm_acf_shortcode
filterapply_filters( 'alm_acf_shortcode', $acf, $acf_field_type, $acf_field_name, $acf_post_id, $post_id, $acf_parent_field_name, $acf_row_index ); -
alm_acf_total_rows
filterapply_filters( 'alm_acf_total_rows', $query_args ); -
alm_ajaxurl
filterapply_filters( 'alm_ajaxurl', admin_url( 'admin-ajax.php' ) ); -
alm_allow_draft_posts
filterapply_filters( 'alm_allow_draft_posts', false ); -
alm_allow_future_posts
filterapply_filters( 'alm_allow_future_posts', false ); -
alm_allow_pending_posts
filterapply_filters( 'alm_allow_pending_posts', false ); -
alm_allow_private_posts
filterapply_filters( 'alm_allow_private_posts', false ); -
alm_allow_trash_posts
filterapply_filters( 'alm_allow_trash_posts', false ); -
alm_before_container
filterapply_filters( 'alm_before_container', '' ); -
alm_button_wrap_classes
filterapply_filters( 'alm_button_wrap_classes', '' ); -
alm_cache_shortcode
filterapply_filters( 'alm_cache_shortcode', $options ); -
apply_filters( 'alm_canonical_frontpage_trailing_slash', true ); -
alm_canonical_url_{$id}
filterapply_filters( "alm_canonical_url_{$id}", alm_get_canonical_url() ); -
alm_comments_shortcode
filterapply_filters( 'alm_comments_shortcode', $comments, $comments_per_page, $comments_type, $comments_style, $comments_template, $comments_callback, $comments_post_id ); -
alm_create_templates
filterapply_filters( 'alm_create_templates', false ); -
alm_cta_pos_array
filterapply_filters( 'alm_cta_pos_array', $seo_start_page, $page, $posts_per_page, $alm_post_count, $cta_val, $paging ); -
alm_cta_shortcode
filterapply_filters( 'alm_cta_shortcode', $cta, $cta_position, $cta_repeater, $cta_theme_repeater, $cta_template ); -
alm_custom_layouts
filterapply_filters( 'alm_custom_layouts', '' ); -
alm_custom_repeaters
actiondo_action( 'alm_custom_repeaters' ); -
alm_display_results
filterapply_filters( 'alm_display_results', __( 'Viewing {post_count} of {total_posts} results.', 'ajax-load-more' ) ); -
apply_filters( 'alm_elementor_hide_pagination', '' ); -
alm_elementor_params
filterapply_filters( 'alm_elementor_params', $elementor_params ); -
alm_filters_shortcode_params
filterapply_filters( 'alm_filters_shortcode_params', $filters, $target, $filters_url, $filters_paging, $filters_scroll, $filters_scrolltop, $filters_debug, $options ); -
alm_get_layout_classes
filterapply_filters( 'alm_get_layout_classes', $layouts_cols, $layouts_gap, $css_classes ); -
alm_get_layouts
actiondo_action( 'alm_get_layouts' ); -
alm_get_layouts_add_on
actiondo_action( 'alm_get_layouts_add_on' ); -
alm_get_rest_api_template
actiondo_action( 'alm_get_rest_api_template', $repeater, alm_get_repeater_type( $repeater ) ); -
alm_get_rest_theme_repeater
actiondo_action( 'alm_get_rest_theme_repeater', $theme_repeater ); -
alm_get_theme_repeater
actiondo_action( 'alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current, $args ); -
alm_layouts_custom_css
actiondo_action( 'alm_layouts_custom_css', self::$counter ); -
alm_licensing_sslverify
filterapply_filters( 'alm_licensing_sslverify', false ); -
alm_mask_license_keys
filterapply_filters( 'alm_mask_license_keys', false ); -
alm_masonry_after
filterapply_filters( 'alm_masonry_after', $transition ); -
alm_masonry_before
filterapply_filters( 'alm_masonry_before', $transition ); -
alm_nextpage_paged
filterapply_filters( 'alm_nextpage_paged', $nextpage_start > 1 ); -
alm_nextpage_shortcode
filterapply_filters( 'alm_nextpage_shortcode', $nextpage_urls, $nextpage_post_id, $nextpage_scroll, $nextpage_title_template, $nextpage_type, $id ); -
alm_nextpage_use_rest_api
filterapply_filters( 'alm_nextpage_use_rest_api', true ); -
alm_no_results_text
filterapply_filters( 'alm_no_results_text', __( 'No results found.', 'ajax-load-more' ) ); -
alm_noscript
filterapply_filters( 'alm_noscript', $query_args, $container_element, $css_classes, $canonical_url ); -
alm_noscript_pagination
filterapply_filters( 'alm_noscript_pagination', $alm_preload_query, $filters ); -
alm_page_id
filterapply_filters( 'alm_page_id', alm_get_page_id( $post ) ); -
alm_page_slug
filterapply_filters( 'alm_page_slug', alm_get_page_slug( $post ) ); -
alm_paging_after
filterapply_filters( 'alm_paging_after', '</div>' ); -
alm_paging_before
filterapply_filters( 'alm_paging_before', '<div class="alm-paging-content' . $paging_container_classes . '" style="opacity: 0; outline: none;">' ); -
alm_paging_container_classes
filterapply_filters( 'alm_paging_container_classes', '' ); -
alm_paging_first_label
filterapply_filters( 'alm_paging_first_label', '' ); -
alm_paging_last_label
filterapply_filters( 'alm_paging_last_label', '' ); -
alm_paging_loader
filterapply_filters( 'alm_paging_loader', '<div class="alm-paging-loading"></div>' ); -
alm_paging_next_label
filterapply_filters( 'alm_paging_next_label', '»' ); -
alm_paging_previous_label
filterapply_filters( 'alm_paging_previous_label', '«' ); -
alm_paging_shortcode
filterapply_filters( 'alm_paging_shortcode', $paging, $paging_controls, $paging_show_at_most, $paging_classes, $paging_first_label, $paging_last_label, $paging_previous_label, $paging_next_label, $paging_scroll ); -
alm_prev_button_label
filterapply_filters( 'alm_prev_button_label', __( 'Load Previous', 'ajax-load-more' ) ); -
alm_repeater_path
filterapply_filters( 'alm_repeater_path', $upload_dir['basedir'] . '/alm_templates' ); -
alm_rest_api_shortcode
filterapply_filters( 'alm_rest_api_shortcode', 'true', $restapi_base, $restapi_namespace, $restapi_endpoint, $restapi_template_id, $restapi_debug ); -
alm_restapi_url
filterapply_filters( 'alm_restapi_url', '' ); -
alm_retain_querystring
filterapply_filters( 'alm_retain_querystring', true ); -
alm_seo_posts_per_page
filterapply_filters( 'alm_seo_posts_per_page', true ); -
alm_seo_shortcode
filterapply_filters( 'alm_seo_shortcode', $seo, $preloaded, $options, $seo_offset ); -
alm_single_post_inc
filterapply_filters( 'alm_single_post_inc', $repeater, $repeater_type, $theme_repeater ); -
apply_filters( 'alm_single_post_preview_height', 700 ); -
alm_single_post_querystring
filterapply_filters( 'alm_single_post_querystring', true ); -
alm_single_post_shortcode
filterapply_filters( 'alm_single_post_shortcode', $single_post_id, $single_post_order, $single_post_taxonomy, $single_post_excluded_terms, $single_post_progress_bar, $options, $single_post_target, $single_post_query_order, $query_args, $single_post_preview ); -
apply_filters( 'alm_single_posts_use_rest_api', true ); -
alm_speed
filterapply_filters( 'alm_speed', 250 ); -
alm_template_path
filterapply_filters( 'alm_template_path', 'alm_templates' ); -
alm_terms_shortcode
filterapply_filters( 'alm_terms_shortcode', $term_query, $term_query_taxonomy, $term_query_hide_empty, $term_query_number ); -
alm_unlimited_repeaters
actiondo_action( 'alm_unlimited_repeaters' ); -
alm_user_role_post_status
filterapply_filters( 'alm_user_role_post_status', 'edit_theme_options' ); -
alm_users_shortcode
filterapply_filters( 'alm_users_shortcode', $users_role, $users_include, $users_exclude, $posts_per_page, $users_order, $users_orderby, $options ); -
alm_woo_classes
filterapply_filters( 'alm_woo_classes', 'products stylefree' ); -
alm_woo_container_element
filterapply_filters( 'alm_woo_container_element', 'ul' ); -
alm_woo_hide_orderby
filterapply_filters( 'alm_woo_hide_orderby', false ); -
alm_woo_hide_pagination
filterapply_filters( 'alm_woo_hide_pagination', true ); -
alm_woo_orderby_options
filterapply_filters( 'alm_woo_orderby_options', '' ); -
alm_woo_ordering_class
filterapply_filters( 'alm_woo_ordering_class', 'woocommerce-ordering' ); -
alm_woo_pagination_class
filterapply_filters( 'alm_woo_pagination_class', 'woocommerce-pagination' ); -
alm_woocommerce_shortcode
filterapply_filters( 'alm_woocommerce_shortcode', $localize_id, $query_args ); -
apply_filters( 'edd_sl_api_request_verify_ssl', true, $this ); -
do_action( "in_plugin_update_message-{$file}", $plugin, $plugin ); -
paging_classes
filterapply_filters( 'paging_classes', '' ); -
apply_filters( 'woocommerce_default_catalog_orderby', get_option( 'woocommerce_default_catalog_orderby' ) );
Generated from Ajax Load More'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: