Product Category Slider & Grid for WooCommerce 1.7.4 has 7 actions and 14 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 Product Category Slider & Grid for WooCommerce fires an action
add_action( 'sp_woo_category_slider_imported', function( $new_shortcode_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Product Category Slider & Grid 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
-
/** * Filters whether the BFCM 2026 notice campaign is active. */ apply_filters( 'shapedplugin_bfcm_2026_active', $active ); -
sp_wcslider_ui_permission
filterapply_filters( 'sp_wcslider_ui_permission', 'manage_options' ); -
apply_filters( 'sp_category_slider_import_export_capability', 'manage_options' ); -
spf_{$this->unique}_args
filterapply_filters( "spf_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this ); -
spf_{$this->unique}_save
filterapply_filters( "spf_{$this->unique}_save", $request, $post_id, $this ); -
do_action( "spf_{$this->unique}_save_after", $request, $post_id, $this ); -
do_action( "spf_{$this->unique}_save_before", $request, $post_id, $this ); -
spf_{$this->unique}_saved
actiondo_action( "spf_{$this->unique}_saved", $request, $post_id, $this ); -
spf_{$this->unique}_sections
filterapply_filters( "spf_{$this->unique}_sections", $params['sections'], $this ); -
apply_filters( "SP_WCS_{$this->unique}_output_css", $this->output_css, $this ); -
do_action( 'sp_woo_category_slider_imported', $new_shortcode_id ); -
spf_color_palette
filterapply_filters( 'spf_color_palette', array() ); -
spf_dev_mode
filterapply_filters( 'spf_dev_mode', false ); -
spf_enqueue
actiondo_action( 'spf_enqueue' ); -
spf_field_icon_add_icons
filterapply_filters( 'spf_field_icon_add_icons', spf_get_default_icons() ); -
spf_init
actiondo_action( 'spf_init' ); -
spf_loaded
actiondo_action( 'spf_loaded' ); -
spf_override
filterapply_filters( 'spf_override', 'spf-override' ); -
widget_title
filterapply_filters( 'widget_title', esc_attr( $instance['title'] ) ); -
apply_filters( 'woo_category_slider_post_type_args', array( 'labels' => $labels, 'public' => false, 'has_archive' => false, 'publicaly_queryable' => false, 'show_ui' => $show_ui, 'show_in_menu' => true, 'menu_icon' => $_menu_icon, 'hierarchical' => false, 'query_var' => false, 'supports' => array( 'title' ), 'menu_position' => 25, 'capability_type' => 'post', ) ); -
apply_filters( 'woo_category_slider_post_type_labels', array( 'name' => esc_html__( 'All Category Views', 'woo-category-slider-grid' ), 'singular_name' => esc_html__( 'Category View', 'woo-category-slider-grid' ), 'menu_name' => esc_html__( 'Product Category', 'woo-category-slider-grid' ), 'add_new' => esc_html__( 'Add New', 'woo-category-slider-grid' ), 'add_new_item' => esc_html__( 'Add Category View', 'woo-category-slider-grid' ), 'edit' => esc_... );
Generated from Product Category Slider & Grid 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: