WRO implements Premium_Service, Registerable
Integrates with WooCommerce Restaurant Ordering
Tags
Interfaces, Classes and Traits
- Premium_Service
- Registerable
Table of Contents
- $settings : mixed
- $theme : mixed
- __construct() : mixed
- Constructor
- maybe_hide_wro_notice() : bool
- Hides '[product] added to cart' notice from WC Restaurant Ordering plugin when Fast Cart auto-open setting has been enabled.
- register() : void
- Hide WRO notice when it's redundant with WFC notices.
Properties
$settings
private
mixed
$settings
Tags
$theme
private
mixed
$theme
Tags
Methods
__construct()
Constructor
public
__construct() : mixed
Tags
Return values
mixed —maybe_hide_wro_notice()
Hides '[product] added to cart' notice from WC Restaurant Ordering plugin when Fast Cart auto-open setting has been enabled.
public
maybe_hide_wro_notice(bool $notice) : bool
hooks into wc_restaurant_ordering_show_cart_notice
filter
Parameters
- $notice : bool
-
original value of whether or not to show the notice
Tags
Return values
bool —register()
Hide WRO notice when it's redundant with WFC notices.
public
register() : void