Product Table & List Builder for WooCommerce icon
eCommerce & WooCommerce

Product Table & List Builder for WooCommerce hooks reference

  • By WP Titan Labs
  • v5.7.8
  • Updated

Product Table & List Builder for WooCommerce 5.7.8 has 39 actions and 110 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 Table & List Builder for WooCommerce fires an action
add_action( 'prad_enqueue_block_css', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Product Table & List Builder for WooCommerce is about to use
add_filter( 'wcpt_nav_filter_option', function( $option, $arg2, $arg3 ) {
	// Change $option here.
	return $option;
}, 10, 3 );

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

  • templates/category_filter.php line 392 · used in 5 places
    apply_filters( 'wcpt_nav_filter_option', $option, 'category', array('taxonomy' => $taxonomy) );
  • main.php line 5372 · used in 5 places
    apply_filters( 'wcpt_product_is_on_sale', $product->is_on_sale(), $product );
  • style-functions.php line 119 · used in 4 places
    apply_filters( 'wcpt_style_prop_val', array( 'prop' => $prop, 'val' => $val, 'selector' => $selector, ) );
  • wcpt_template

    filter
    main.php line 3957 · used in 4 places
    apply_filters( 'wcpt_template', $template_path, $template_file_name );
  • templates/attribute.php line 458 · used in 4 places
    apply_filters( 'wcpt_term_name_in_column', $term->name, $term );
  • templates/highest_price.php line 16 · used in 3 places
    apply_filters( 'wcpt_product_get_highest_price', $max_price, $product );
  • main.php line 5388 · used in 3 places
    apply_filters( 'wcpt_product_get_regular_price', wc_get_price_to_display( $product, array( 'qty' => 1, 'price' => $product->get_regular_price(), ) ), $product );
  • main.php line 5374 · used in 3 places
    apply_filters( 'wcpt_product_get_sale_price', wc_get_price_to_display( $product, array( 'qty' => 1, 'price' => $product->get_sale_price(), ) ), $product );
  • search.php line 555 · used in 3 places
    apply_filters( 'wcpt_search__query_results', $wpdb->get_col($sql) );
  • the_content

    filter
    templates/content.php line 17 · used in 2 places
    apply_filters( 'the_content', get_the_content() );
  • main.php line 5531 · used in 2 places
    apply_filters( 'wcpt_clear_filter_skip_variables', array( 'orderby', 'order', 'paged', 'device', 'sc_attrs', 'results_per_page', 'filtered', 'from_shop', 'column_orderby', 'column_meta_key', 'column_orderby_attribute', 'column_orderby_taxonomy', ) );
  • wcpt_data

    filter
    main.php line 1224 · used in 2 places
    apply_filters( 'wcpt_data', $table_data, 'edit' );
  • wcpt_element

    filter
    main.php line 3936 · used in 2 places
    apply_filters( 'wcpt_element', $element );
  • main.php line 3961 · used in 2 places
    apply_filters( 'wcpt_element_markup', $element_markup, $element );
  • wcpt_excerpt

    filter
    templates/short_description.php line 16 · used in 2 places
    apply_filters( 'wcpt_excerpt', $product->get_short_description() );
  • templates/pagination.php line 41 · used in 2 places
    apply_filters( 'wcpt_pagination_options', $args );
  • class-wc-shortcode-product-table.php line 505 · used in 2 places
    apply_filters( 'wcpt_parse_style_column_cell_data', $column['cell'] );
  • class-wc-shortcode-product-table.php line 101 · used in 2 places
    apply_filters( 'wcpt_pre_get_products', null, $this->query_args );
  • wcpt_product

    filter
    class-wc-shortcode-product-table.php line 472 · used in 2 places
    apply_filters( 'wcpt_product', $product );
  • templates/lowest_price.php line 16 · used in 2 places
    apply_filters( 'wcpt_product_get_lowest_price', $min_price, $product );
  • wcpt_products

    filter
    class-wc-shortcode-product-table.php line 111 · used in 2 places
    apply_filters( 'wcpt_products', $products );
  • class-wc-shortcode-product-table.php line 92 · used in 2 places
    apply_filters( 'wcpt_query_args', $this->query_args );
  • main.php line 3659 · used in 2 places
    apply_filters( 'woocommerce_add_to_cart_fragments', array( 'div.widget_shopping_cart_content' => '<div class="widget_shopping_cart_content">' . $mini_cart . '</div>', ) );
  • main.php line 3665 · used in 2 places
    apply_filters( 'woocommerce_add_to_cart_hash', WC()->cart->get_cart_for_session() ? md5(json_encode(WC()->cart->get_cart_for_session())) : '', WC()->cart->get_cart_for_session() );
  • main.php line 2130 · used in 2 places
    apply_filters( 'woocommerce_get_asset_url', plugins_url('assets/js/frontend/add-to-cart' . $min . '.js', WC_PLUGIN_FILE), 'assets/js/frontend/add-to-cart' . $min . '.js' );
  • main.php line 2907 · used in 2 places
    apply_filters( 'woocommerce_price_trim_zeros', false );
  • main.php line 6767
    apply_filters( 'formatted_woocommerce_price', number_format( $price, wc_get_price_decimals(), wc_get_price_decimal_separator(), wc_get_price_thousand_separator() ), $price, wc_get_price_decimals(), wc_get_price_decimal_separator(), wc_get_price_thousand_separator() );
  • main.php line 2955
    do_action( 'prad_enqueue_block_css' );
  • main.php line 2956
    do_action( 'prad_enqueue_block_js' );
  • qm/start

    action
    main.php line 3750
    do_action( 'qm/start', 'product table id: ' . $atts['id'] );
  • qm/stop

    action
    main.php line 3793
    do_action( 'qm/stop', 'product table id: ' . $atts['id'] );
  • main.php line 6766
    apply_filters( 'raw_woocommerce_price', floatval($negative ? $price * -1 : $price) );
  • main.php line 2158
    apply_filters( 'wc_nyp_error_message_templates', array( 'invalid-product' => __('This is not a valid product.', 'wc_name_your_price'), 'invalid' => __('"%%TITLE%%" could not be added to the cart. Please enter a valid, positive number.', 'wc_name_your_price'), 'minimum' => __('"%%TITLE%%" could not be added to the cart. Please enter at least %%MINIMUM%%.', 'wc_name_your_price'), 'hide_minimum' => __('"%%TITLE%%" c... );
  • editor/partials/element-editor/partials/add-column-cell-element.php line 6
    apply_filters( 'wcpt_add_column_cell_element_array', array( 'Title', 'Product Image', 'Price', 'Rating', 'Short Description', 'Content', 'Variation Content [pro]', 'Quantity', 'Button', 'Add to cart button', 'Download Button [pro]', 'Link Button', 'Remove [pro]', 'Cart Quantity [pro]', 'Favorite (addon) [pro]', 'Custom Field', 'Attribute', 'Tags', 'Taxonomy [pro]', 'Multi Property Grid [pro]', 'ToolTip [pro]', 'Shortcode [pro]', 'Custom template ... );
  • editor/partials/element-editor/partials/add-navgiation-header-element.php line 4
    apply_filters( 'wcpt_add_navgiation_header_element_array', array( 'Sort By', 'Result Count', 'Results per page', 'Category Filter', 'Clear Filters', 'Price Filter', 'Search', 'Reveal Sidebar', 'Apply / Reset [pro]', 'Text', 'HTML', 'Space', 'Line Separator', 'Pagination__header', 'Icon [pro]', 'Media Image [pro]', 'Tags Filter [pro]', 'Attribute Filter [pro]', 'Custom Field Filter [pro]', 'Taxonomy Filter [pro]', 'Brand Filter [pro]', 'Availability Fil... );
  • editor/partials/element-editor/partials/add-column-cell-element.php line 92
    do_action( 'wcpt_after_add_column_cell_element_buttons' );
  • templates/cell-close.php line 3
    do_action( 'wcpt_after_cell_close', $column, $column_index );
  • templates/cell-open.php line 6
    do_action( 'wcpt_after_cell_open', $column, $column_index );
  • templates/heading-row.php line 57
    do_action( 'wcpt_after_heading_row', $columns, $device );
  • templates/heading-row.php line 51
    do_action( 'wcpt_after_heading_row_open' );
  • class-wc-shortcode-product-table.php line 575
    do_action( 'wcpt_after_pagination' );
  • class-wc-shortcode-product-table.php line 346
    do_action( 'wcpt_after_parse_navigation', $data );
  • main.php line 3777
    do_action( 'wcpt_after_product_table_is_processed' );
  • class-wc-shortcode-product-table.php line 501
    do_action( 'wcpt_after_row_open' );
  • class-wc-shortcode-product-table.php line 313
    do_action( 'wcpt_before_apply_user_filters', $data );
  • templates/cell-close.php line 1
    do_action( 'wcpt_before_cell_close', $column, $column_index );
  • templates/cell-open.php line 1
    do_action( 'wcpt_before_cell_open', $column, $column_index );
  • templates/heading-row.php line 47
    do_action( 'wcpt_before_heading_row', $columns, $device );
  • templates/heading-row.php line 53
    do_action( 'wcpt_before_heading_row_close' );
  • class-wc-shortcode-product-table.php line 399
    do_action( 'wcpt_before_loop', $this->attributes );
  • class-wc-shortcode-product-table.php line 561
    do_action( 'wcpt_before_pagination' );
  • class-wc-shortcode-product-table.php line 1180
    apply_filters( 'wcpt_before_parse_attributes', $attributes );
  • class-wc-shortcode-product-table.php line 460
    do_action( 'wcpt_before_product_rows_loop', $products, $row_cache_context_base );
  • main.php line 3774
    do_action( 'wcpt_before_product_table_is_processed' );
  • class-wc-shortcode-product-table.php line 530
    do_action( 'wcpt_before_row_close' );
  • main.php line 2109
    apply_filters( 'wcpt_breakpoints', ( !empty($GLOBALS['wcpt_breakpoints']) && is_array($GLOBALS['wcpt_breakpoints']) ) ? $GLOBALS['wcpt_breakpoints'] : array('tablet' => '1199', 'phone' => '749') );
  • templates/cart-widget.php line 35
    apply_filters( 'wcpt_cart_total_price', wcpt_price($cart_cost) );
  • templates/cart-widget.php line 13
    apply_filters( 'wcpt_cart_total_quantity', WC()->cart->cart_contents_count );
  • templates/cart-widget.php line 215
    apply_filters( 'wcpt_cart_widget_icon_markup', ob_get_clean() );
  • templates/cart-widget.php line 197
    apply_filters( 'wcpt_cart_widget_url', $link_url );
  • templates/cell-open.php line 4
    apply_filters( 'wcpt_cell_html_attributes', '', $column );
  • templates/cell-open.php line 3
    apply_filters( 'wcpt_cell_html_class', 'wcpt-cell wcpt-' . $column['cell']['id'], $column, $column_index );
  • class-wc-shortcode-product-table.php line 511
    apply_filters( 'wcpt_cell_value', trim(wcpt_parse_2($column['cell']['template'] ? $column['cell']['template'] : '', $product)), $column_index, $column, $device );
  • main.php line 7826
    apply_filters( 'wcpt_column_inheritance_needs_device_placeholder', $needs_placeholder, $table_id, $loop_device, $requested_device, $layout_source_map );
  • main.php line 7756
    apply_filters( 'wcpt_column_layout_source_map', $map, $columns_by_device, $has_own, $hash_by_device );
  • class-wc-shortcode-product-table.php line 587
    do_action( 'wcpt_container_close' );
  • main.php line 8018
    apply_filters( 'wcpt_container_html_attributes', $attributes );
  • templates/container-open.php line 7
    apply_filters( 'wcpt_container_html_class', 'wcpt wcpt-' . $table_data['id'] . ' ' . trim($this->attributes['class']) . ' ' . trim($this->attributes['html_class']) );
  • class-wc-shortcode-product-table.php line 432
    apply_filters( 'wcpt_device_columns', $columns, $layout_device, $requested_device );
  • main.php line 7281
    apply_filters( 'wcpt_disabled_modules', array() );
  • main.php line 9120
    apply_filters( 'wcpt_get_variations', $product->get_available_variations() );
  • main.php line 1465
    apply_filters( 'wcpt_global_settings', $settings );
  • main.php line 5897
    do_action( 'wcpt_header_navgiation_close' );
  • templates/heading-row.php line 35
    apply_filters( 'wcpt_heading_cell_html_attributes', '', $column );
  • editor/editor.php line 342
    do_action( 'wcpt_main_tab_panels_end' );
  • editor/editor.php line 165
    do_action( 'wcpt_main_tabs_end' );
  • main.php line 1868
    apply_filters( 'wcpt_manage_script_handles', array( 'wcpt', 'antiscroll', 'freeze_table', 'multirange', 'wcpt-wc-price-calculator', ) );
  • main.php line 1887
    apply_filters( 'wcpt_manage_style_handles', array( 'wcpt', 'antiscroll', 'freeze_table', 'multirange', ) );
  • wcpt_markup

    filter
    main.php line 3776
    apply_filters( 'wcpt_markup', do_shortcode($content) );
  • templates/modal_form.php line 10
    do_action( 'wcpt_modal_form_content_start' );
  • main.php line 5824
    apply_filters( 'wcpt_nav_header_class', 'wcpt-navigation wcpt-header {{maybe-always}}' );
  • main.php line 5825
    apply_filters( 'wcpt_nav_header_style', '' );
  • main.php line 5813
    apply_filters( 'wcpt_nav_sidebar_class', 'wcpt-navigation wcpt-left-sidebar {{maybe-always}}' );
  • main.php line 5814
    apply_filters( 'wcpt_nav_sidebar_style', '' );
  • class-wc-shortcode-product-table.php line 407
    apply_filters( 'wcpt_navigation', $nav );
  • class-wc-shortcode-product-table.php line 583
    apply_filters( 'wcpt_no_results', $no_results_markup );
  • templates/product_image.php line 187
    apply_filters( 'wcpt_offset_zoom_image_size', 'large', $object_id );
  • class-wc-shortcode-product-table.php line 568
    apply_filters( 'wcpt_pagination_override', false, $products, $device );
  • class-wc-shortcode-product-table.php line 1440
    apply_filters( 'wcpt_parse_attributes', array_merge($attributes, $query) );
  • style-functions.php line 444
    apply_filters( 'wcpt_parse_style_2_data', $item );
  • style-functions.php line 33
    apply_filters( 'wcpt_parse_style_css_string', '' );
  • style-functions.php line 32
    apply_filters( 'wcpt_parse_style_data', $table_data['style'] );
  • wcpt_partial

    filter
    editor/partials/element-editor/element-partials.php line 87
    apply_filters( 'wcpt_partial', $partial['location'], $partial['name'] );
  • editor/partials/element-editor/element-partials.php line 13
    apply_filters( 'wcpt_partials_array', $partials );
  • main.php line 9534
    apply_filters( 'wcpt_permit_item_in_cart_count', TRUE, $values );
  • main.php line 9700
    apply_filters( 'wcpt_permitted_params', [] );
  • main.php line 3063
    apply_filters( 'wcpt_permitted_shortcode_attributes', array( 'id', 'name', 'offset', 'limit', 'category', 'orderby', 'order', 'ids', 'exclude_ids', 'skus', 'exclude_skus', 'exclude_category', 'use_default_search', 'class', 'auto_scroll', 'laptop_auto_scroll', 'tablet_auto_scroll', 'phone_auto_scroll', 'laptop_scroll_offset', 'tablet_scroll_offset', 'phone_scroll_offset', 'disable_url_update', 'disable_ajax', 'pagination_show_prev_next_icons', 'pag... );
  • style-functions.php line 14
    do_action( 'wcpt_print_styles' );
  • templates/row-open.php line 60
    apply_filters( 'wcpt_product_row_attributes', ' ' . $variation_id_data . ' ' . $variation_attributes_data . ' ' . $product_id_data . ' data-wcpt-type ="' . $product->get_type() . '" data-wcpt-in-cart ="" data-wcpt-stock ="' . $stock . '" data-wcpt-price ="' . wcpt_get_price_to_display($product) . '" ', $product, $wcpt_products );
  • main.php line 9112
    do_action( 'wcpt_product_row_cache_bumped', $product_id );
  • class-wc-shortcode-product-table.php line 480
    apply_filters( 'wcpt_product_row_cache_context', array( 'table_id' => $row_cache_context_base['table_id'], 'device' => $row_cache_context_base['device'], 'layout_device' => $row_cache_context_base['layout_device'], 'sc_attrs' => $row_cache_context_base['sc_attrs'], ), $product );
  • class-wc-shortcode-product-table.php line 491
    apply_filters( 'wcpt_product_row_cache_get', false, $product, $row_cache_context );
  • class-wc-shortcode-product-table.php line 541
    do_action( 'wcpt_product_row_cache_set', $cached_row, $product, $row_cache_context, $row_style_delta );
  • templates/row-open.php line 58
    apply_filters( 'wcpt_product_row_html_class', $html_class, $product, $wcpt_products );
  • templates/row-open.php line 75
    apply_filters( 'wcpt_product_row_style', '', $product );
  • main.php line 1340
    do_action( 'wcpt_reset_global_settings' );
  • main.php line 842
    apply_filters( 'wcpt_roles_with_caps', array('administrator', 'shop_manager') );
  • wcpt_row

    filter
    class-wc-shortcode-product-table.php line 544
    apply_filters( 'wcpt_row', $cached_row, $product, $row_cache_context );
  • search.php line 11
    apply_filters( 'wcpt_search_args', $filter_info );
  • search.php line 430
    apply_filters( 'wcpt_search_ids', $search_ids, $filter_info, $keyword_phrase, $keywords );
  • search.php line 165
    apply_filters( 'wcpt_search_target', $filter_info['target'] );
  • wcpt_settings

    filter
    main.php line 576
    apply_filters( 'wcpt_settings', $table_data, $ctx );
  • editor/settings.php line 31
    do_action( 'wcpt_settings_panel_end' );
  • main.php line 3757
    apply_filters( 'wcpt_shortcode_attributes', (array) $atts, $GLOBALS['wcpt_table_data'] );
  • editor/shortcode-info.php line 1065
    do_action( 'wcpt_shortcode_options_row' );
  • main.php line 1858
    apply_filters( 'wcpt_should_skip_scripts', $should_skip, $mode, $manage );
  • style-functions.php line 214
    apply_filters( 'wcpt_single_device_container', true, $table_data );
  • class-wc-shortcode-product-table.php line 419
    apply_filters( 'wcpt_skip_loop', FALSE );
  • style-functions.php line 52
    apply_filters( 'wcpt_style_division', array( 'style_division' => $style[$division], 'division_style_string' => $division_style_string, ) );
  • templates/category_filter.php line 243
    apply_filters( 'wcpt_term_name_in_navigation_filter', $term->name, $term );
  • main.php line 1995
    apply_filters( 'wcpt_use_legacy_freeze_table', false );
  • main.php line 9183
    apply_filters( 'wcpt_variations_cache_get', false, $id, $product );
  • main.php line 9193
    do_action( 'wcpt_variations_cache_set', $variations, $id, $product );
  • templates/modal_form.php line 11
    do_action( "woocommerce_{$product_type}_add_to_cart" );
  • main.php line 3487
    apply_filters( 'woocommerce_add_to_cart_handler', $adding_to_cart->get_type(), $adding_to_cart );
  • main.php line 3542
    do_action( "woocommerce_add_to_cart_handler_{$add_to_cart_handler}", $product_id );
  • main.php line 3371
    apply_filters( 'woocommerce_add_to_cart_product_id', absint($product_id) );
  • templates/regular_price.php line 25
    apply_filters( 'woocommerce_empty_price_html', wcpt_price($regular_price), $product );
  • class-wc-shortcode-product-table.php line 934
    apply_filters( 'woocommerce_get_min_max_price_meta_query', array( 'price_filter' => true, 'key' => '_price', 'value' => array($current_min_price, $current_max_price), 'compare' => 'BETWEEN', 'type' => 'DECIMAL(10,' . wc_get_price_decimals() . ')', ), $filter_info );
  • main.php line 9879
    apply_filters( 'woocommerce_grouped_empty_price_html', '', $product );
  • main.php line 9876
    apply_filters( 'woocommerce_grouped_free_price_html', __('Free!', 'woocommerce'), $product );
  • class-wc-shortcode-product-table.php line 363
    do_action( 'woocommerce_no_products_found' );
  • main.php line 2936
    apply_filters( 'woocommerce_product_addons_params', $params );
  • main.php line 2909
    apply_filters( 'woocommerce_product_addons_show_num_chars', 1000 );
  • templates/product_image.php line 110
    apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' );
  • templates/quantity.php line 16
    apply_filters( 'woocommerce_quantity_input_args', array( 'input_id' => uniqid('quantity_'), 'input_name' => 'quantity', 'input_value' => '1', 'max_value' => apply_filters('woocommerce_quantity_input_max', $product->get_max_purchase_quantity(), $product), 'min_value' => apply_filters('woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product), 'step' => apply_filters('woocommerce_quantity_input_step', 1, $product), 'patte... );
  • templates/quantity.php line 28
    apply_filters( 'woocommerce_quantity_input_autocomplete', 'off', $product );
  • templates/quantity.php line 26
    apply_filters( 'woocommerce_quantity_input_classes', array('input-text', 'qty', 'text'), $product );
  • templates/quantity.php line 24
    apply_filters( 'woocommerce_quantity_input_inputmode', has_filter('woocommerce_stock_amount', 'intval') ? 'numeric' : '' );
  • templates/quantity.php line 20
    apply_filters( 'woocommerce_quantity_input_max', $product->get_max_purchase_quantity(), $product );
  • templates/quantity.php line 21
    apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product );
  • templates/quantity.php line 23
    apply_filters( 'woocommerce_quantity_input_pattern', has_filter('woocommerce_stock_amount', 'intval') ? '[0-9]*' : '' );
  • templates/quantity.php line 27
    apply_filters( 'woocommerce_quantity_input_placeholder', '', $product );
  • templates/quantity.php line 29
    apply_filters( 'woocommerce_quantity_input_readonly', false, $product );
  • templates/quantity.php line 22
    apply_filters( 'woocommerce_quantity_input_step', 1, $product );
  • class-wc-shortcode-product-table.php line 444
    do_action( "woocommerce_shortcode_before_{$this->type}_loop", $this->attributes );
  • templates/product_image.php line 97
    apply_filters( 'woocommerce_single_product_photoswipe_options', array( 'shareEl' => false, 'closeOnScroll' => false, 'history' => false, 'hideAnimationDuration' => 0, 'showAnimationDuration' => 0, ) );
  • templates/price.php line 48
    apply_filters( 'woocommerce_variable_empty_price_html', '', $product );

Generated from Product Table & List Builder 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: