PHP Класс a2bSettings, adblock-to-bitcoin

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ) Start up
add_plugin_page ( ) Add options page
bitcoin_address_callback ( ) Get the settings option array and print one of its values
copy_callback ( ) Get the settings option array and print one of its values
create_admin_page ( ) Options page callback
display_settings_callback ( ) Get the settings option array and print one of its values
is_active ( )
page_init ( ) Register and add settings
powered_by_callback ( ) Get the settings option array and print one of its values
print_section_info ( ) Print the Section text
sanitize ( array $input ) Sanitize each setting field as needed
suggested_donation_amount_callback ( ) Get the settings option array and print one of its values

Описание методов

__construct() публичный Метод

Start up
public __construct ( )

add_plugin_page() публичный Метод

Add options page
public add_plugin_page ( )

bitcoin_address_callback() публичный Метод

Get the settings option array and print one of its values

copy_callback() публичный Метод

Get the settings option array and print one of its values
public copy_callback ( )

create_admin_page() публичный Метод

Options page callback
public create_admin_page ( )

display_settings_callback() публичный Метод

Get the settings option array and print one of its values

is_active() публичный Метод

public is_active ( )

page_init() публичный Метод

Register and add settings
public page_init ( )

powered_by_callback() публичный Метод

Get the settings option array and print one of its values
public powered_by_callback ( )

print_section_info() публичный Метод

Print the Section text
public print_section_info ( )

sanitize() публичный Метод

Sanitize each setting field as needed
public sanitize ( array $input )
$input array Contains all settings fields as array keys

suggested_donation_amount_callback() публичный Метод

Get the settings option array and print one of its values