Grid/List View for WooCommerce 3.2 has 30 actions and 115 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 Grid/List View for WooCommerce fires an action
add_action( 'berocket_enqueue_media', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Grid/List View for WooCommerce is about to use
add_filter( 'is_berocket_settings_page', 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
-
apply_filters( "brfr_get_plugin_version_capability_{$plugin_name}", 0 ); -
apply_filters( "brfr_plugin_get_instance_{$plugin_slug}", FALSE ); -
apply_filters( 'is_berocket_settings_page', false ); -
do_action( 'berocket_enqueue_media' ); -
apply_filters( "brfr_get_plugin_version_capability_{$this->hook_name}", 0 ); -
apply_filters( 'wpml_object_id', $product_id, 'product', true, $current_language ); -
apply_filters( 'berocket_admin_notices_rate_stars_plugins', array() ); -
apply_filters( "brfr_custom_post_get_instance_{$post_slug}", FALSE ); -
apply_filters( "{$hook_name}_check_type_{$condition['type']}", false, $condition, $additional ); -
do_action( "{$hook_name}_conditions_select_after" ); -
apply_filters( "berocket_admin_bar_css_{$plugin_slug}", '' ); -
apply_filters( "berocket_admin_bar_html_{$plugin_slug}", '' ); -
apply_filters( "berocket_admin_bar_js_{$plugin_slug}", '' ); -
apply_filters( "brfr_{$setup_style['name_for_filters']}_{$item['section']}", $section_filter, $item, $options, $setup_style['settings_name'] ); -
brfr_{$this->info['plugin_name']}_settings_item_{$hook_name}_after
filter Copy link Customise this hookapply_filters( "brfr_{$this->info['plugin_name']}_settings_item_{$hook_name}_after", $page_content, $item['items'][0], $tab_name, $tab_content ); -
brfr_{$this->info['plugin_name']}_settings_item_{$hook_name}_before
filter Copy link Customise this hookapply_filters( "brfr_{$this->info['plugin_name']}_settings_item_{$hook_name}_before", $page_content, $item['items'][0], $tab_name, $tab_content ); -
apply_filters( "brfr_custom_post_get_instance_{$post_type}", FALSE ); -
apply_filters( "brfr_get_plugin_version_capability_{$this->plugin_name}", 0 ); -
apply_filters( "brfr_support_link_{$setup_style['name_for_filters']}", "https://berocket.com/support/support-{$this->cc->values['premium_slug']}{$meta_data}" ); -
apply_filters( 'lgv_product_count_custom_class', (empty($lgv_options_pc['custom_class']) ? '' : $lgv_options_pc['custom_class'] ) ); -
apply_filters( 'lgv_product_count_position', '' ); -
apply_filters( 'lgv_product_count_template', 'product_count' ); -
apply_filters( 'wpml_current_language', NULL ); -
apply_filters( 'wpml_default_language', NULL ); -
do_action( "{$hook_name}_condition_not_exist", $condition ); -
do_action( "{$hook_name}_conditions_docs" ); -
apply_filters( "{$hook_name}_conditions_list", $conditions ); -
apply_filters( "{$hook_name}_save_type_{$condition['type']}", $condition ); -
apply_filters( "{$hook_name}_type_{$condition_type_slug}", '', '%name%[%id%][%current_id%]', array('is_example' => true) ); -
apply_filters( "{$hook_name}_type_{$conditions['type']}", '', $name_for_condition . '[' . $id . '][' . $current . ']', $conditions ); -
apply_filters( "{$hook_name}_types", array() ); -
apply_filters( "{$this->cc->info['plugin_name']}_get_template_part", $template, $name ); -
do_action( "{$this->info['plugin_name']}_framework_construct", $this->cc ); -
do_action( 'berocket_above_admin_settings', berocket_isset($this->plugin_version_capability), $this ); -
apply_filters( "berocket_addons_active_{$this->plugin_name}", array() ); -
apply_filters( "berocket_addons_info_{$this->hook_name}", array() ); -
apply_filters( 'berocket_admin_bar_plugins_data', array() ); -
apply_filters( 'BeRocket_admin_init_user_capabilities', array('manage_berocket', 'manage_berocket_account') ); -
apply_filters( 'berocket_admin_notice_is_display_notice', $display_notice, $item, array( 'subscribed' => self::$subscribed, 'end_soon' => $end_soon, 'closed' => $closed, ) ); -
apply_filters( 'berocket_admin_notice_is_display_notice_priority', $display_notice, $item, array( 'subscribed' => self::$subscribed, 'priority' => $priority, ) ); -
apply_filters( 'berocket_admin_notices_subscribe_plugins', $plugins ); -
apply_filters( "berocket_conditions_{$direction}_type_{$condition_type}", $condition, $condition_context ); -
apply_filters( 'berocket_conditions_import_export_schema', $schema, $context ); -
apply_filters( "berocket_conditions_import_export_schema_{$condition_type}", $condition_schema, $condition_context ); -
do_action( 'berocket_copy_from_custom_post', $this->post_name, $post_id, $post ); -
do_action( 'berocket_copy_from_custom_post_block', $this->post_name, $post ); -
do_action( "berocket_custom_post_{$this->post_name}_admin_init", $this->post_type_parameters ); -
do_action( "berocket_custom_post_{$this->post_name}_admin_init_only", $this->post_type_parameters ); -
do_action( "berocket_custom_post_{$this->post_name}_columns_replace", $column, $this->post_type_parameters ); -
apply_filters( "berocket_custom_post_{$this->post_name}_default_settings", $this->default_settings, self::$instance ); -
berocket_custom_post_{$this->post_name}_get_custom_posts_args_default
filter Copy link Customise this hookapply_filters( "berocket_custom_post_{$this->post_name}_get_custom_posts_args_default", array( 'posts_per_page' => -1, 'offset' => 0, 'category' => '', 'category_name' => '', 'include' => '', 'exclude' => '', 'meta_key' => '', 'meta_value' => '', 'post_type' => $this->post_name, 'post_mime_type' => '', 'post_parent' => '', 'author' => '', 'post_status' => 'publish', 'fields' => 'ids', 'suppress_filters' => false ) ); -
berocket_custom_post_{$this->post_name}_get_custom_posts_args_frontend
filter Copy link Customise this hookapply_filters( "berocket_custom_post_{$this->post_name}_get_custom_posts_args_frontend", $args, $additional ); -
apply_filters( "berocket_custom_post_{$this->post_name}_manage_edit_columns", $columns, $this->post_type_parameters ); -
do_action( "berocket_custom_post_{$this->post_name}_wc_save_product_after", $post_id, $post, $this->post_type_parameters ); -
do_action( "berocket_custom_post_{$this->post_name}_wc_save_product_before", $post_id, $post, $this->post_type_parameters ); -
berocket_custom_post_{$this->post_name}_wc_save_product_before_check
action Copy link Customise this hookdo_action( "berocket_custom_post_{$this->post_name}_wc_save_product_before_check", $post_id, $post, $this->post_type_parameters ); -
berocket_custom_post_{$this->post_name}_wc_save_product_without_check_after
action Copy link Customise this hookdo_action( "berocket_custom_post_{$this->post_name}_wc_save_product_without_check_after", $post_id, $post, $this->post_type_parameters ); -
berocket_custom_post_{$this->post_name}_wc_save_product_without_check_before
action Copy link Customise this hookdo_action( "berocket_custom_post_{$this->post_name}_wc_save_product_without_check_before", $post_id, $post, $this->post_type_parameters ); -
apply_filters( 'berocket_display_additional_notices', array() ); -
apply_filters( 'berocket_feature_request_window', '', br_get_value_from_array($this->cc->info, 'id'), $this ); -
apply_filters( "BeRocket_framework_check_init_{$check_and['check']}", $result_and, $check_and ); -
do_action( 'BeRocket_framework_init_plugin', $this->cc->info ); -
apply_filters( "berocket_framework_item_content_{$field_item['type']}", '', $field_item, $field_name, $value, $class, $extra, $option_values, $option_deault_values ); -
do_action( 'BeRocket_framework_settings_fields_construct' ); -
do_action( 'BeRocket_framework_updater_account_form_after', self::$plugin_info ); -
apply_filters( 'berocket_grid_list_product_count_all', 400 ); -
apply_filters( 'berocket_lgv_user_func', $lgv_js_options ); -
apply_filters( 'BeRocket_popup_open_page_elements', $page_elements, self::$elements ); -
apply_filters( "BeRocket_popup_open_type_{$popup_open['type']}", $page_elements, $popup_open, $element, $element_i, $element_id ); -
apply_filters( 'berocket_rate_plugin_window', '', br_get_value_from_array($this->cc->info, 'id') ); -
apply_filters( 'berocket_sanitize_array_kses', true, $array, $option_name, $previous_settings ); -
apply_filters( 'berocket_sanitize_array_predefine', null, $array, $option_name, $previous_settings ); -
apply_filters( "berocket_selected_templates_info_{$this->hook_name}", array() ); -
BeRocket_style_addon_library_additional_html_{$this->hook_name}
filter Copy link Customise this hookapply_filters( "BeRocket_style_addon_library_additional_html_{$this->hook_name}", $html_array, $addon_info, $item, $options, $settings_name ); -
BeRocket_style_template_library_additional_html_{$this->hook_name}
filter Copy link Customise this hookapply_filters( "BeRocket_style_template_library_additional_html_{$this->hook_name}", $html_array, $template_info, $item, $options, $settings_name ); -
apply_filters( "berocket_templates_active_{$this->plugin_name}", array() ); -
apply_filters( "berocket_templates_info_{$this->hook_name}", array() ); -
apply_filters( 'BeRocket_tooltip_tippy_page_elements', $page_elements, self::$elements ); -
apply_filters( 'berocket_tutorial_tab_element', '', $element, $section_id, $element_id, $additional ); -
apply_filters( "berocket_tutorial_tab_element_{$element['type']}", '', $element, $section_id, $element_id, $additional ); -
apply_filters( 'berocket_tutorial_tab_section', '', $section, $section_id, $additional ); -
apply_filters( 'BeRocket_updater_add_plugin', $plugin ); -
apply_filters( 'BeRocket_updater_error_log', self::$error_log ); -
apply_filters( 'berocket_widget_template', 'widget', $args['plugin_class']::info ); -
do_action( 'br_lgv_after_list_grid_buttons' ); -
do_action( 'br_lgv_before_list_grid_buttons' ); -
brfr_{$this->info['plugin_name']}_settings_item_{$item_key}_inline_after
filter Copy link Customise this hookapply_filters( "brfr_{$this->info['plugin_name']}_settings_item_{$item_key}_inline_after", $page_content, $field_item, $tab_name, $tab_content ); -
brfr_{$this->info['plugin_name']}_settings_item_{$item_key}_inline_before
filter Copy link Customise this hookapply_filters( "brfr_{$this->info['plugin_name']}_settings_item_{$item_key}_inline_before", $page_content, $field_item, $tab_name, $tab_content ); -
brfr_{$this->info['plugin_name']}_settings_item_{$tmp_filter_name}_after
filter Copy link Customise this hookapply_filters( "brfr_{$this->info['plugin_name']}_settings_item_{$tmp_filter_name}_after", $page_content, $item, $tab_name, $tab_content ); -
brfr_{$this->info['plugin_name']}_settings_item_{$tmp_filter_name}_before
filter Copy link Customise this hookapply_filters( "brfr_{$this->info['plugin_name']}_settings_item_{$tmp_filter_name}_before", $page_content, $item, $tab_name, $tab_content ); -
apply_filters( "brfr_{$this->plugin_name}_addons_get_info", array() ); -
apply_filters( "brfr_action_link_{$this->cc->info['plugin_name']}", array_merge( $action_links, $links ) ); -
do_action( "brfr_activate_{$this->cc->info['plugin_name']}" ); -
apply_filters( 'brfr_addonslib_html_elements', $elements, $addons_info ); -
apply_filters( "brfr_data_{$setup_style['name_for_filters']}", $data ); -
do_action( "brfr_deactivate_{static::$settings_name}" ); -
apply_filters( "brfr_docs_link_{$setup_style['name_for_filters']}", "https://docs.berocket.com/plugin/{$this->cc->values['premium_slug']}" ); -
apply_filters( "brfr_export_type_{$resolved_type['export_type']}", $options[$key], array( 'direction' => 'export', 'setting_key' => $key, 'settings' => $context_options, 'local_settings' => $options, 'declaration' => $resolved_type, 'original_value' => $original_value, ) ); -
apply_filters( "brfr_fields_html_{$setup_style['name_for_filters']}", $item_content, $field_name, $value, $field_item ); -
apply_filters( "brfr_get_option_{$this->cc->info['plugin_name']}", $options, $this->cc->defaults ); -
apply_filters( "brfr_get_option_cache_{$this->cc->info['plugin_name']}", $options, $this->cc->defaults ); -
brfr_get_plugin_version_capability_{$this->get_plugin_name_by_sku($plugin)}
filter Copy link Customise this hookapply_filters( "brfr_get_plugin_version_capability_{$this->get_plugin_name_by_sku($plugin)}", 0 ); -
apply_filters( "brfr_header_links_{$setup_style['name_for_filters']}", $header_links ); -
apply_filters( 'brfr_import_export_type_config', $type, $key, $options, $direction, $context_options ); -
apply_filters( "brfr_import_type_{$resolved_type['export_type']}", $options[$key], array( 'direction' => 'import', 'setting_key' => $key, 'settings' => $context_options, 'local_settings' => $options, 'declaration' => $resolved_type, 'original_value' => $original_value, ) ); -
apply_filters( "brfr_page_content_{$setup_style['name_for_filters']}", $page_content, $data ); -
apply_filters( "brfr_plugin_defaults_value_{$this->cc->info['plugin_name']}", $this->defaults, $this ); -
apply_filters( "brfr_plugin_get_instance_{$plugin_info_single['plugin_name']}", FALSE ); -
apply_filters( "brfr_plugin_get_licenses_current_id_{(int)$plugin['id']}", array() ); -
apply_filters( "brfr_plugin_get_licenses_current_id_{$plugin['id']}", array('free') ); -
brfr_plugin_get_licenses_current_latest_{$this->cc->info['plugin_name']}
filter Copy link Customise this hookapply_filters( "brfr_plugin_get_licenses_current_latest_{$this->cc->info['plugin_name']}", 'free' ); -
apply_filters( "brfr_plugin_licenses_current_{$this->cc->info['plugin_name']}", $this->licenses_current, $this ); -
apply_filters( "brfr_plugin_row_meta_{$this->cc->info['plugin_name']}", $links, $file, $this ); -
brfr_plugin_version_capability_{$this->cc->info['plugin_name']}
filter Copy link Customise this hookapply_filters( "brfr_plugin_version_capability_{$this->cc->info['plugin_name']}", $this->plugin_version_capability, $this ); -
apply_filters( "brfr_sanitize_option_{$this->cc->info['plugin_name']}", $new_input, $input, $this->cc->defaults ); -
apply_filters( 'brfr_settings_tab_title', $title ); -
apply_filters( "brfr_tabs_info_{$setup_style['name_for_filters']}", $tabs_info ); -
apply_filters( 'ce_widget_title', $instance[ 'title' ] ); -
apply_filters( 'lgv_add_to_cart_button', sprintf( '<a href="%s" rel="nofollow" data-product_id="%s" data-product_sku="%s" data-quantity="%s" class="button %s product_type_%s">%s</a>', esc_url( $product->add_to_cart_url() ), esc_attr( $product_id ), esc_attr( $product->get_sku() ), esc_attr( isset( $quantity ) ? $quantity : 1 ), $product->is_purchasable() && $product->is_in_stock() ? 'add_to_cart_button' : '', esc_attr( $product->produ... ); -
do_action( 'lgv_after_product_count_links' ); -
do_action( 'lgv_before_product_count_links' ); -
apply_filters( 'lgv_buttons_custom_class', (empty($lgv_options['custom_class']) ? '' : $lgv_options['custom_class'] ) ); -
apply_filters( 'lgv_buttons_padding', (empty($lgv_options['padding']) ? '' : $lgv_options['padding'] ) ); -
apply_filters( 'lgv_buttons_position', (empty($lgv_options['position']) ? '' : $lgv_options['position'] ) ); -
apply_filters( 'lgv_buttons_template', 'list-grid' ); -
apply_filters( 'lgv_product_classes', $classes ); -
apply_filters( 'lgv_product_count_lgv_options_pc', $lgv_options_pc ); -
apply_filters( 'lgv_product_count_values', $values ); -
apply_filters( 'lgv_product_data_template', $template ); -
do_action( 'lgv_simple_after' ); -
do_action( 'lgv_simple_after_description' ); -
do_action( 'lgv_simple_after_meta' ); -
do_action( 'lgv_simple_after_product_name' ); -
do_action( 'lgv_simple_before' ); -
apply_filters( 'lgv_widget_custom_class', @ $lgv_options['custom_class'] ); -
apply_filters( 'lgv_widget_template', 'list-grid' ); -
apply_filters( 'lgv_widget_title', $instance['title'] ); -
apply_filters( 'widget_title', empty($instance['title']) ? '' : $instance['title'], $instance );
Generated from Grid/List View for WooCommerce'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: