Settings_Page extends WC_Settings_Page implements Registerable

The WooCommerce settings page. Appears under the main WooCommerce -> Settings menu.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable

Table of Contents

$id  : string
$plugin  : Licensed_Plugin
__construct()  : mixed
get_settings()  : array<string|int, mixed>
Get the full list of settings.
load_scripts()  : mixed
register()  : mixed
save()  : mixed
Save the plugin settings.

Properties

$id

protected string $id = 'restaurant-ordering'

The settings page ID.

Tags

$plugin

private Licensed_Plugin $plugin

The plugin object.

Tags

Methods

__construct()

public __construct(Licensed_Plugin $plugin) : mixed
Parameters
$plugin : Licensed_Plugin
Tags
Return values
mixed

get_settings()

Get the full list of settings.

public get_settings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>

load_scripts()

public load_scripts() : mixed
Tags
Return values
mixed

register()

public register() : mixed
Tags
Return values
mixed

save()

Save the plugin settings.

public save() : mixed
Tags
see
WC_Settings_Page::save()
Return values
mixed

Search results