Layout implements Registerable, Standard_Service
Layout Setting Tab
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- $id : mixed
- $is_wpt_active : bool
- Whether the WooCommerce Product Table plugin is active.
- $is_wpt_installed : bool
- Whether the WooCommerce Product Table plugin is installed.
- __construct() : mixed
- Constructor.
- custom_product_table_activation_button() : mixed
- Renders a custom button to activate the Product Table plugin
- custom_product_table_promotion() : mixed
- Renders a custom button to promote the Product Table plugin
- get_id() : string
- Return the ID of the settings tab.
- get_settings() : array<string|int, mixed>
- Retrieves the settings.
- register() : mixed
- {@inheritdoc}
Properties
$id
private
mixed
$id
Tags
$is_wpt_active
Whether the WooCommerce Product Table plugin is active.
private
bool
$is_wpt_active
Tags
$is_wpt_installed
Whether the WooCommerce Product Table plugin is installed.
private
bool
$is_wpt_installed
Tags
Methods
__construct()
Constructor.
public
__construct(string $id) : mixed
Parameters
- $id : string
Tags
Return values
mixed —custom_product_table_activation_button()
Renders a custom button to activate the Product Table plugin
public
custom_product_table_activation_button() : mixed
Tags
Return values
mixed —custom_product_table_promotion()
Renders a custom button to promote the Product Table plugin
public
custom_product_table_promotion() : mixed
Tags
Return values
mixed —get_id()
Return the ID of the settings tab.
public
get_id() : string
Tags
Return values
string —get_settings()
Retrieves the settings.
public
get_settings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —register()
{@inheritdoc}
public
register() : mixed