Restaurant_Ordering implements Registerable

WooCommerce Restaurant Ordering integration.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable

Table of Contents

filter_sidebar_widgets()  : array<string|int, mixed>
Remove WRO widgets from sidebars when the store is locked.
protect_shortcodes()  : array<string|int, mixed>
Protect restaurant shortcodes when the store is locked.
register()  : mixed

Methods

filter_sidebar_widgets()

Remove WRO widgets from sidebars when the store is locked.

public filter_sidebar_widgets( $widgets) : array<string|int, mixed>
Parameters
$widgets :

The array of sidebar widgets - e.g. [ 0 => 'woocommerce_product_search' ].

Return values
array<string|int, mixed>

The filtered array.

protect_shortcodes()

Protect restaurant shortcodes when the store is locked.

public protect_shortcodes( $shortcodes) : array<string|int, mixed>
Parameters
$shortcodes :

The array of shortcodes.

Return values
array<string|int, mixed>

The filtered array.

Search results