Product_Table implements Premium_Service, Registerable
Handles the WooCommerce Product Table integration.
Tags
Interfaces, Classes and Traits
- Premium_Service
- Registerable
Table of Contents
- maybe_prevent_wro_shop_page_override() : mixed
- register() : mixed
- Register the integrations for Product Addons.
- remove_tables_from_description() : string
- Remove [product_table] shortcode from modal description content. The add to cart feature of the table will conflict with the cart form in the restaurant modal.
Methods
maybe_prevent_wro_shop_page_override()
public
maybe_prevent_wro_shop_page_override(mixed $restaurant_override) : mixed
Parameters
- $restaurant_override : mixed
Tags
Return values
mixed —register()
Register the integrations for Product Addons.
public
register() : mixed
Tags
Return values
mixed —remove_tables_from_description()
Remove [product_table] shortcode from modal description content. The add to cart feature of the table will conflict with the cart form in the restaurant modal.
public
remove_tables_from_description(string $description) : string
Parameters
- $description : string
-
The modal description
Tags
Return values
string —The filtered description