Payment_Roles implements Registerable, Standard_Service
Emails Setting Tab
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- $id : mixed
- $section : mixed
- __construct() : mixed
- Constructor.
- add_section() : array<string|int, mixed>
- Add the section
- add_settings() : WP_Post
- Add the settings
- get_id() : string
- Return the ID of the settings tab.
- register() : mixed
- {@inheritdoc}
- save() : mixed
- Save the data
- setting_screen() : mixed
- Output custom setting screen
Properties
$id
private
mixed
$id
Tags
$section
private
mixed
$section
Tags
Methods
__construct()
Constructor.
public
__construct(string $id) : mixed
Parameters
- $id : string
Tags
Return values
mixed —add_section()
Add the section
public
add_section(array<string|int, mixed> $sections) : array<string|int, mixed>
Parameters
- $sections : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —$sections
add_settings()
Add the settings
public
add_settings(array<string|int, mixed> $settings, string $current_section) : WP_Post
Parameters
- $settings : array<string|int, mixed>
- $current_section : string
Tags
Return values
WP_Post —$settings
get_id()
Return the ID of the settings tab.
public
get_id() : string
Tags
Return values
string —register()
{@inheritdoc}
public
register() : mixed
Tags
Return values
mixed —save()
Save the data
public
save() : mixed
Tags
Return values
mixed —setting_screen()
Output custom setting screen
public
setting_screen() : mixed