Product Category Slider & Grid for WooCommerce icon
eCommerce & WooCommerce

Product Category Slider & Grid for WooCommerce hooks reference

  • By ShapedPlugin LLC
  • v1.7.4 New
  • Updated

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.

functions.phpyour child theme
// 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

  • admin/partials/notices/shapedplugin-bfcm-notice.php line 143
    /**
     * Filters whether the BFCM 2026 notice campaign is active.
     */
    apply_filters( 'shapedplugin_bfcm_2026_active', $active );
  • admin/class-woo-category-slider-admin.php line 103 · used in 6 places
    apply_filters( 'sp_wcslider_ui_permission', 'manage_options' );
  • includes/class-woo-category-slider-import-export.php line 84 · used in 2 places
    apply_filters( 'sp_category_slider_import_export_capability', 'manage_options' );
  • admin/partials/wcsp-framework/classes/metabox.class.php line 100 · used in 2 places
    apply_filters( "spf_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this );
  • admin/partials/wcsp-framework/classes/metabox.class.php line 473 · used in 2 places
    apply_filters( "spf_{$this->unique}_save", $request, $post_id, $this );
  • admin/partials/wcsp-framework/classes/metabox.class.php line 500 · used in 2 places
    do_action( "spf_{$this->unique}_save_after", $request, $post_id, $this );
  • admin/partials/wcsp-framework/classes/metabox.class.php line 474 · used in 2 places
    do_action( "spf_{$this->unique}_save_before", $request, $post_id, $this );
  • admin/partials/wcsp-framework/classes/metabox.class.php line 499 · used in 2 places
    do_action( "spf_{$this->unique}_saved", $request, $post_id, $this );
  • admin/partials/wcsp-framework/classes/metabox.class.php line 101 · used in 2 places
    apply_filters( "spf_{$this->unique}_sections", $params['sections'], $this );
  • admin/partials/wcsp-framework/classes/abstract.class.php line 139
    apply_filters( "SP_WCS_{$this->unique}_output_css", $this->output_css, $this );
  • includes/class-woo-category-slider-import-export.php line 166
    do_action( 'sp_woo_category_slider_imported', $new_shortcode_id );
  • admin/partials/wcsp-framework/classes/setup.class.php line 372
    apply_filters( 'spf_color_palette', array() );
  • spf_dev_mode

    filter
    admin/partials/wcsp-framework/classes/setup.class.php line 344
    apply_filters( 'spf_dev_mode', false );
  • spf_enqueue

    action
    admin/partials/wcsp-framework/classes/setup.class.php line 400
    do_action( 'spf_enqueue' );
  • admin/partials/wcsp-framework/functions/actions.php line 47
    apply_filters( 'spf_field_icon_add_icons', spf_get_default_icons() );
  • spf_init

    action
    admin/partials/wcsp-framework/classes/setup.class.php line 86
    do_action( 'spf_init' );
  • spf_loaded

    action
    admin/partials/wcsp-framework/classes/setup.class.php line 142
    do_action( 'spf_loaded' );
  • spf_override

    filter
    admin/partials/wcsp-framework/classes/setup.class.php line 211
    apply_filters( 'spf_override', 'spf-override' );
  • widget_title

    filter
    includes/class-woo-category-slider-widget.php line 45
    apply_filters( 'widget_title', esc_attr( $instance['title'] ) );
  • includes/class-woo-category-slider-post-types.php line 110
    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', ) );
  • includes/class-woo-category-slider-post-types.php line 73
    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: