LSX Customizer icon
eCommerce & WooCommerce

LSX Customizer hooks reference

  • By Ash Shaw
  • v1.5.4
  • Updated

LSX Customizer 1.5.4 has 3 actions and 44 filters, read directly from its source code on Nov 18, 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 LSX Customizer fires an action
add_action( 'admin_footer', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value LSX Customizer is about to use
add_filter( 'tribe_ce_submit_event_page_title', function( $_ ) {
	// Change $_ here.
	return $_;
}, 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

  • includes/the-events-calendar/the-events-calendar.php line 117 · used in 4 places
    apply_filters( 'tribe_ce_submit_event_page_title', __( 'Submit an Event', 'lsx' ) );
  • includes/sensei/class-lsx-sensei.php line 287 · used in 3 places
    apply_filters( 'lsx_bootstrap_column_size', $default_size );
  • lsx-customizer.php line 31 · used in 2 places
    apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
  • classes/class-lsx-customizer-login.php line 479 · used in 2 places
    apply_filters( 'lsx_customizer_login_styles', array( 'logo' => get_theme_mod( 'lsx_login_logo', '' ), 'link_colour' => get_theme_mod( 'lsx_login_link_colour', '#0085ba' ), 'link_hover_colour' => get_theme_mod( 'lsx_login_link_hover_colour', '#0085ba' ), 'button_colour' => get_theme_mod( 'lsx_login_button_colour', '#0085ba' ), 'button_shadow_colour' => get_theme_mod( 'lsx_login_button_shadow_colour', '#015d82' ), 'button_hover_colour' => ge... );
  • classes/class-lsx-wc-widget-recent-reviews.php line 85 · used in 2 places
    apply_filters( 'woocommerce_after_widget_product_list', '</ul>' );
  • classes/class-lsx-wc-widget-recent-reviews.php line 72 · used in 2 places
    apply_filters( 'woocommerce_before_widget_product_list', '<ul class="product_list_widget">' );
  • classes/class-lsx-customizer-admin.php line 37
    apply_filters( 'lsx_customizer_admin_js_params', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), ) );
  • includes/lsx-customizer-colour-options.php line 102
    apply_filters( 'lsx_customizer_colour_choices', array( 'default' => array( 'label' => __( 'Default', 'lsx-customizer' ), 'colors' => apply_filters( 'lsx_customizer_colour_choices_default', array( 'button_background_color' => '#418AD0', 'button_background_hover_color' => '#367DC0', 'button_text_color' => '#FFFFFF', 'button_text_color_hover' => '#FFFFFF', 'button_shadow' => '#27639E', 'button_cta_background_color' => '#F7AE00', 'button_cta_bac... );
  • includes/lsx-customizer-colour-options.php line 105
    apply_filters( 'lsx_customizer_colour_choices_default', array( 'button_background_color' => '#418AD0', 'button_background_hover_color' => '#367DC0', 'button_text_color' => '#FFFFFF', 'button_text_color_hover' => '#FFFFFF', 'button_shadow' => '#27639E', 'button_cta_background_color' => '#F7AE00', 'button_cta_background_hover_color' => '#EDA700', 'button_cta_text_color' => '#FFFFFF', 'button_cta_text_color_hover' => '#FFFFFF', 'button_cta_shadow' => '... );
  • includes/lsx-customizer-colour-options.php line 15
    apply_filters( 'lsx_customizer_colour_names', array( 'button_background_color' => esc_html__( 'Background', 'lsx-customizer' ), 'button_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ), 'button_text_color' => esc_html__( 'Text', 'lsx-customizer' ), 'button_text_color_hover' => esc_html__( 'Text (hover)', 'lsx-customizer' ), 'button_shadow' => esc_html__( 'Shadow', 'lsx-customizer' ), 'button_cta_background_co... );
  • classes/class-lsx-customizer-colour-banner.php line 136
    apply_filters( 'lsx_customizer_colour_selectors_banner', $css, $colors );
  • classes/class-lsx-customizer-colour-body.php line 153
    apply_filters( 'lsx_customizer_colour_selectors_body', $css, $colors );
  • classes/class-lsx-customizer-colour-button.php line 117
    apply_filters( 'lsx_customizer_colour_selectors_button', $css, $colors );
  • classes/class-lsx-customizer-colour-button-cta.php line 117
    apply_filters( 'lsx_customizer_colour_selectors_button_cta', $css, $colors );
  • classes/class-lsx-customizer-colour-button-secondary.php line 117
    apply_filters( 'lsx_customizer_colour_selectors_button_secondary', $css, $colors );
  • classes/class-lsx-customizer-colour-button-tertiary.php line 117
    apply_filters( 'lsx_customizer_colour_selectors_button_tertiary', $css, $colors );
  • classes/class-lsx-customizer-colour-header.php line 114
    apply_filters( 'lsx_customizer_colour_selectors_header', $css, $colors );
  • classes/class-lsx-customizer-colour-main-menu.php line 123
    apply_filters( 'lsx_customizer_colour_selectors_main_menu', $css, $colors );
  • classes/class-lsx-customizer-colour-top-menu.php line 129
    apply_filters( 'lsx_customizer_colour_selectors_top_menu', $css, $colors );
  • classes/class-lsx-customizer-colour-banner.php line 69
    apply_filters( 'lsx_customizer_colours_banner', array( 'banner_background_color' => get_theme_mod( 'banner_background_color', $colors['banner_background_color'] ), 'banner_text_color' => get_theme_mod( 'banner_text_color', $colors['banner_text_color'] ), 'banner_text_image_color' => get_theme_mod( 'banner_text_image_color', $colors['banner_text_image_color'] ), 'banner_breadcrumb_background_color' => get_theme_mod( 'banner_breadcrumb_backgro... );
  • classes/class-lsx-customizer-colour-body.php line 75
    apply_filters( 'lsx_customizer_colours_body', array( 'background_color' => $background_color, 'body_line_color' => get_theme_mod( 'body_line_color', $colors['body_line_color'] ), 'body_text_heading_color' => get_theme_mod( 'body_text_heading_color', $colors['body_text_heading_color'] ), 'body_text_small_color' => get_theme_mod( 'body_text_small_color', $colors['body_text_small_color'] ), 'body_text_color' => get_theme_mod( 'body_text_color... );
  • classes/class-lsx-customizer-colour-button.php line 69
    apply_filters( 'lsx_customizer_colours_button', array( 'button_background_color' => get_theme_mod( 'button_background_color', $colors['button_background_color'] ), 'button_background_hover_color' => get_theme_mod( 'button_background_hover_color', $colors['button_background_hover_color'] ), 'button_text_color' => get_theme_mod( 'button_text_color', $colors['button_text_color'] ), 'button_text_color_hover' => get_theme_mod( 'button_text_color_... );
  • classes/class-lsx-customizer-colour-button-cta.php line 69
    apply_filters( 'lsx_customizer_colours_button_cta', array( 'button_cta_background_color' => get_theme_mod( 'button_cta_background_color', $colors['button_cta_background_color'] ), 'button_cta_background_hover_color' => get_theme_mod( 'button_cta_background_hover_color', $colors['button_cta_background_hover_color'] ), 'button_cta_text_color' => get_theme_mod( 'button_cta_text_color', $colors['button_cta_text_color'] ), 'button_cta_text_color_hove... );
  • classes/class-lsx-customizer-colour-button-secondary.php line 69
    apply_filters( 'lsx_customizer_colours_button_secondary', array( 'button_secondary_background_color' => get_theme_mod( 'button_secondary_background_color', $colors['button_secondary_background_color'] ), 'button_secondary_background_hover_color' => get_theme_mod( 'button_secondary_background_hover_color', $colors['button_secondary_background_hover_color'] ), 'button_secondary_text_color' => get_theme_mod( 'button_secondary_text_color', $colors['button... );
  • classes/class-lsx-customizer-colour-button-tertiary.php line 69
    apply_filters( 'lsx_customizer_colours_button_tertiary', array( 'button_tertiary_background_color' => get_theme_mod( 'button_tertiary_background_color', $colors['button_tertiary_background_color'] ), 'button_tertiary_background_hover_color' => get_theme_mod( 'button_tertiary_background_hover_color', $colors['button_tertiary_background_hover_color'] ), 'button_tertiary_text_color' => get_theme_mod( 'button_tertiary_text_color', $colors['button_tertiar... );
  • classes/class-lsx-customizer-colour-header.php line 69
    apply_filters( 'lsx_customizer_colours_header', array( 'header_background_color' => get_theme_mod( 'header_background_color', $colors['header_background_color'] ), 'header_link_color' => get_theme_mod( 'header_link_color', $colors['header_link_color'] ), 'header_link_hover_color' => get_theme_mod( 'header_link_hover_color', $colors['header_link_hover_color'] ), 'header_description_color' => get_theme_mod( 'header_description_color', $colors[... );
  • classes/class-lsx-customizer-colour-main-menu.php line 69
    apply_filters( 'lsx_customizer_colours_main_menu', array( 'main_menu_background_color' => get_theme_mod( 'main_menu_background_color', $colors['main_menu_background_color'] ), 'main_menu_link_color' => get_theme_mod( 'main_menu_link_color', $colors['main_menu_link_color'] ), 'main_menu_link_hover_color' => get_theme_mod( 'main_menu_link_hover_color', $colors['main_menu_link_hover_color'] ), 'main_menu_dropdown_background_color' => get_theme_mod... );
  • classes/class-lsx-customizer-colour-top-menu.php line 69
    apply_filters( 'lsx_customizer_colours_top_menu', array( 'top_menu_background_color' => get_theme_mod( 'top_menu_background_color', $colors['top_menu_background_color'] ), 'top_menu_link_color' => get_theme_mod( 'top_menu_link_color', $colors['top_menu_link_color'] ), 'top_menu_link_hover_color' => get_theme_mod( 'top_menu_link_hover_color', $colors['top_menu_link_hover_color'] ), 'top_menu_icon_color' => get_theme_mod( 'top_menu_icon_color', ... );
  • classes/class-lsx-customizer-frontend.php line 37
    apply_filters( 'lsx_customizer_js_params', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), ) );
  • includes/sensei/class-lsx-sensei-course.php line 89
    do_action( 'lsx_sensei_course_content_inside_before', get_the_ID() );
  • includes/woocommerce/woocommerce.php line 265
    apply_filters( 'lsx_wc_cart_menu_item_class', $item_class );
  • includes/woocommerce/woocommerce.php line 246
    apply_filters( 'lsx_wc_cart_menu_item_position', 'primary' );
  • classes/class-lsx-customizer-woocommerce.php line 621
    apply_filters( 'lsx_wc_my_account_menu_item', $item );
  • classes/class-lsx-customizer-woocommerce.php line 595
    apply_filters( 'lsx_wc_my_account_menu_item_class', $item_class );
  • classes/class-lsx-customizer-woocommerce.php line 582
    apply_filters( 'lsx_wc_my_account_menu_item_position', 'primary' );
  • includes/sensei/class-lsx-sensei.php line 439
    apply_filters( 'sensei_module_archive_title', get_queried_object()->name );
  • includes/the-events-calendar/the-events-calendar.php line 105
    apply_filters( 'tribe_ce_edit_event_page_title', __( 'Edit an Event', 'lsx' ) );
  • classes/class-lsx-customizer-woocommerce.php line 342
    apply_filters( 'woocommerce_thankyou_order_id', absint( $wp->query_vars['order-received'] ) );
  • classes/class-lsx-customizer-woocommerce.php line 343
    apply_filters( 'woocommerce_thankyou_order_key', empty( $_GET['key'] ) ? '' : wc_clean( $_GET['key'] ) );

Generated from LSX Customizer's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

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