VidShop 1.10.1 has 12 actions and 34 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.
// Run your own code when VidShop fires an action
add_action( 'vsfw_video_saved', function( $video, $request, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value VidShop is about to use
add_filter( 'vsfw_is_pro', function( $value ) {
// Change $value here.
return $value;
}, 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
-
/** * Whether tag-based filtering should be honoured for this shortcode. */ apply_filters( 'vsfw_is_pro', false ); -
/** * Allow consumers to mutate each video's array shape before it ships out (used * by Pro to inject `tags` and `tag_ids`). */ apply_filters( 'vsfw_video_response_data', $video_data, $request ); -
/** * Fires after a video has been created and its core relations synced. */ do_action( 'vsfw_video_saved', $video, $request, 'create' ); -
/** * Filters the capability required to run a VidShop ability. */ apply_filters( 'vsfw_ability_capability', 'manage_options', $ability_name ); -
/** * This action is documented in includes/integrations/class-builder-render.php */ do_action( 'vsfw_builder_render_init', 'block-editor' ); -
/** * Filter the localized data blob passed to the admin bundle. */ apply_filters( 'vsfw_admin_localized_data', $data ); -
/** * Moves the sale window, for a local preview only. Values may be timestamps or * date strings. */ apply_filters( 'vsfw_black_friday_window', $default ); -
/** * Filters whether builders offer "This product's videos" while editing a post. */ apply_filters( 'vsfw_builder_is_product_context', $result, $post ); -
/** * Allow Pro and other extensions to inject arbitrary values into the frontend * localized data blob. */ apply_filters( 'vsfw_frontend_localized_data', $frontend_data ); -
/** * Filters whether a product may be shown to shoppers by the VidShop REST API. */ apply_filters( 'vsfw_is_public_product', $visible, $product ); -
/** * Filters the ordered video ids shown for a product. */ apply_filters( 'vsfw_product_video_ids', $ids, $product_id ); -
/** * Filters the data a product video row or gallery item is drawn from. */ apply_filters( 'vsfw_product_videos_data', $data, (int) $product_id, $context ); -
/** * Filters the product page video settings that apply to one product. */ apply_filters( 'vsfw_product_videos_display', $resolved, (int) $product_id, $override, $site ); -
/** * Filters the most videos a product page row or gallery item shows; 0 shows * them all. */ apply_filters( 'vsfw_product_videos_max', Options::MAX_VIDEOS, (int) $product_id, $context ); -
/** * Fires after a product's "VidShop videos" choice is saved, from either * product editor or REST. */ do_action( 'vsfw_product_videos_saved', $product_id, $clean ); -
/** * Filters the shortcode attributes built from a saved feed, so add-ons can map * their own settings. */ apply_filters( 'vsfw_storefront_config_atts', array_merge( $atts, $mapped ), $config ); -
/** * Filters a feed's cleaned config, so add-ons can keep settings for their own * layouts. */ apply_filters( 'vsfw_storefront_sanitize_config', $clean, $config ); -
/** * Whether tag-based filtering should be honoured for this shortcode. */ apply_filters( 'vsfw_tags_filtering_enabled', (bool) apply_filters( 'vsfw_is_pro', false ) ); -
/** * Allow consumers (notably Pro) to attach extra constraints to the videos list * query (e.g. tag-based filtering via pivot tables). */ apply_filters( 'vsfw_video_list_query', $query, $request ); -
/** * Allow consumers (notably Pro) to declare extra collection params for the * /videos list endpoint (e.g. `tags`, `tags_operator`). */ apply_filters( 'vsfw_video_list_query_params', $params ); -
/** * Last-chance filter over the full list response - use sparingly. */ apply_filters( 'vsfw_video_list_response', $response, $request ); -
/** * Fires before a video row is permanently deleted, once its own analytics are * gone. */ do_action( 'vsfw_video_permanently_deleted', $video_id ); -
/** * Filters a video's incoming settings before they are saved. */ apply_filters( 'vsfw_video_settings', $params['settings'], $request ); -
/** * Allow consumers (notably Pro) to parse the final shortcode attribute set. */ apply_filters( 'vsfw_video_shortcode_parsed_atts', $atts ); -
do_action( 'vsfw_purge_page_cache' ); -
apply_filters( 'vsfw_cloud_license_key', null ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'svfw_frontend_global_data', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( 'vsfw-frontend' ), 'checkout_url' => wc_get_checkout_url(), 'settings' => $this->settings->get_all_settings(), 'currency_format' => $this->settings->get_currency_format(), 'is_logged_in' => is_user_logged_in(), 'is_pro' => apply_filters( 'vsfw_is_pro', false ), 'is_rtl' => is_rtl(), 'cart_prices_include_tax' => 'inc... ); -
do_action( 'svfw_register_modules', $this ); -
do_action( 'svfw_register_services', $this ); -
apply_filters( 'vsfw_cloud_api_base', $default ); -
apply_filters( 'vsfw_cloud_web_base', $default ); -
do_action( 'vsfw_enqueue_additional_admin_assets' ); -
do_action( 'vsfw_enqueue_additional_frontend_assets' ); -
do_action( 'vsfw_loaded' ); -
apply_filters( 'vsfw_page_cache_integrations', Integrations::all() ); -
apply_filters( 'vsfw_purge_page_cache_enabled', true ); -
apply_filters( 'vsfw_shortcode_data', array( 'videos' => $videos, 'layout' => $type, 'color_schema' => $color_schema, 'play_on_hover' => $play_on_hover, 'add_to_cart_action' => $add_to_cart_action, 'auto_open_product_details' => $auto_open_details, 'post_add_to_cart_action' => $post_add_action, 'post_add_to_cart_url' => $post_add_url, 'autoplay' => $autoplay, 'loop' => $loop, 'show_views' => $show_views, 'show_likes' => $show_likes... ); -
apply_filters( 'vsfw_storefront_layouts', array( 'grid', 'carousel', 'inline', 'stories' ) ); -
apply_filters( 'vsfw_support_form_url', '' ); -
apply_filters( 'vsfw_support_url', '' ); -
apply_filters( 'vsfw_video_shortcode_atts', Video_Feed::default_atts() ); -
do_action( 'wp_enqueue_scripts' ); -
apply_filters( 'wpcreatix_bridge_client_ask', true, (string) $slug ); -
apply_filters( 'wpcreatix_bridge_client_features', array(), $slug ); -
do_action( 'wpcreatix_bridge_client_newsletter', self::SLUG );
Generated from VidShop'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.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin 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 thisNot 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: