Product Slider, Product Carousel and Product Grid Gallery for WooCommerce icon
eCommerce & WooCommerce

Product Slider, Product Carousel and Product Grid Gallery for WooCommerce hooks reference

  • By ShapedPlugin LLC
  • v2.9.2 New
  • Updated

Product Slider, Product Carousel and Product Grid Gallery for WooCommerce 2.9.2 has 14 actions and 20 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 Product Slider, Product Carousel and Product Grid Gallery for WooCommerce fires an action
add_action( 'sp_wps_after_product_details_inner', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Product Slider, Product Carousel and Product Grid Gallery for WooCommerce is about to use
add_filter( 'shapedplugin_bfcm_2026_active', function( $active ) {
	// Change $active here.
	return $active;
}, 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

  • src/Admin/Notices/shapedplugin-bfcm-notice.php line 143
    /**
     * Filters whether the BFCM 2026 notice campaign is active.
     */
    apply_filters( 'shapedplugin_bfcm_2026_active', $active );
  • src/Admin/Admin.php line 59 · used in 9 places
    apply_filters( 'sp_wps_shortcodes_ui_permission', 'manage_options' );
  • src/Admin/views/models/classes/metabox.class.php line 505 · used in 3 places
    apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
  • src/Frontend/views/templates/custom/custom.php line 33 · used in 2 places
    do_action( 'sp_wps_after_product_details_inner' );
  • src/Admin/views/models/classes/metabox.class.php line 107 · used in 2 places
    apply_filters( "spwps_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this );
  • src/Admin/views/models/classes/metabox.class.php line 463 · used in 2 places
    apply_filters( "spwps_{$this->unique}_save", $data, $post_id, $this );
  • src/Admin/views/models/classes/metabox.class.php line 493 · used in 2 places
    do_action( "spwps_{$this->unique}_save_after", $data, $post_id, $this );
  • src/Admin/views/models/classes/metabox.class.php line 465 · used in 2 places
    do_action( "spwps_{$this->unique}_save_before", $data, $post_id, $this );
  • src/Admin/views/models/classes/metabox.class.php line 491 · used in 2 places
    do_action( "spwps_{$this->unique}_saved", $data, $post_id, $this );
  • src/Admin/views/models/classes/metabox.class.php line 108 · used in 2 places
    apply_filters( "spwps_{$this->unique}_sections", $params['sections'], $this );
  • spwps_fa4

    filter
    src/Admin/views/models/classes/SPF_WPSP.php line 585 · used in 2 places
    apply_filters( 'spwps_fa4', false );
  • src/Includes/Import_Export.php line 78 · used in 2 places
    apply_filters( 'spwps_import_export_capability', 'manage_options' );
  • src/Includes/Import_Export.php line 160
    do_action( 'sp_woo_product_slider_imported', $new_shortcode_id );
  • src/Frontend/views/templates/loop/brands-name.php line 18
    do_action( 'sp_wps_brands_after_product' );
  • src/Admin/Admin.php line 82
    apply_filters( 'sp_wps_post_type_args', array( 'labels' => $labels, 'hierarchical' => false, 'description' => esc_html__( 'Reno Product Slider', 'woo-product-slider' ), 'public' => false, 'show_ui' => $show_ui, 'show_in_menu' => $show_ui, 'menu_icon' => $menu_icon, 'menu_position' => 25, 'query_var' => false, 'capability_type' => 'post', 'supports' => array( 'title', ), ) );
  • src/Admin/Admin.php line 62
    apply_filters( 'sp_wps_post_type_labels', array( 'name' => esc_html__( 'Manage Sliders', 'woo-product-slider' ), 'singular_name' => esc_html__( 'Product Slider', 'woo-product-slider' ), 'menu_name' => esc_html__( 'Product Slider', 'woo-product-slider' ), 'all_items' => esc_html__( 'Manage Sliders', 'woo-product-slider' ), 'add_new' => esc_html__( 'Add New', 'woo-product-slider' ), 'add_new_item' => esc_html__( 'Add New Slider', 'woo-pr... );
  • src/Frontend/Helper.php line 167
    apply_filters( 'sp_wps_product_ids', get_posts( $arg ), $post_id );
  • src/Frontend/views/templates/loop/thumbnail.php line 20
    apply_filters( 'sp_wps_product_image_size', $product_thumb );
  • src/Frontend/views/templates/preloader.php line 20
    apply_filters( 'sp_wps_product_preloader_img', SP_WPS_URL . 'Admin/assets/images/spinner.svg' );
  • src/Frontend/views/templates/loop/price.php line 17
    do_action( 'sp_wpsf_before_product_price', $post_id );
  • src/Frontend/views/templates/loop/title.php line 20
    do_action( 'sp_wpspro_after_product_title', $post_id );
  • src/Frontend/views/templates/loop/title.php line 16
    do_action( 'sp_wpspro_before_product_title', $post_id );
  • src/Admin/views/models/classes/abstract.class.php line 48
    apply_filters( "spwps_{$this->unique}_output_css", SPF_WPSP::$css, $this );
  • src/Admin/views/models/functions/actions.php line 112
    apply_filters( 'spwps_chosen_ajax_capability', 'manage_options' );
  • src/Admin/views/models/classes/SPF_WPSP.php line 545
    apply_filters( 'spwps_color_palette', array() );
  • spwps_enqueue

    action
    src/Admin/views/models/classes/SPF_WPSP.php line 574
    do_action( 'spwps_enqueue' );
  • src/Admin/views/models/classes/SPF_WPSP.php line 515
    apply_filters( 'spwps_enqueue_assets', self::$enqueue );
  • src/Admin/views/models/functions/actions.php line 38
    apply_filters( 'spwps_field_icon_add_icons', array() );
  • spwps_fields

    filter
    src/Admin/views/models/classes/SPF_WPSP.php line 416
    apply_filters( 'spwps_fields', array( 'button_set', 'image_select', 'select', 'shortcode', 'checkbox', 'column', 'fieldset', 'heading', 'spinner', 'spacing', 'switcher', 'slider', 'subheading', 'submessage', 'color_group', 'color', 'preview', 'border', 'notice', 'radio', 'text', 'image_sizes', 'dimensions', 'tabbed', 'typography', 'code_editor', 'custom_import', ) );
  • spwps_init

    action
    src/Admin/views/models/classes/SPF_WPSP.php line 150
    do_action( 'spwps_init' );
  • spwps_loaded

    action
    src/Admin/views/models/classes/SPF_WPSP.php line 264
    do_action( 'spwps_loaded' );
  • src/Admin/views/models/classes/options.class.php line 899
    do_action( 'spwps_options_after' );
  • src/Admin/views/models/classes/options.class.php line 731
    do_action( 'spwps_options_before' );
  • src/Admin/views/models/classes/SPF_WPSP.php line 335
    apply_filters( 'spwps_override', 'spwps-override' );

Generated from Product Slider, Product Carousel and Product Grid Gallery for WooCommerce'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: