PHP Class a2bSettings, adblock-to-bitcoin

Show file Open project: owocki/adblock-to-bitcoin

Public Methods

Method Description
__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

Method Details

__construct() public method

Start up
public __construct ( )

add_plugin_page() public method

Add options page
public add_plugin_page ( )

bitcoin_address_callback() public method

Get the settings option array and print one of its values

copy_callback() public method

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

create_admin_page() public method

Options page callback
public create_admin_page ( )

display_settings_callback() public method

Get the settings option array and print one of its values

is_active() public method

public is_active ( )

page_init() public method

Register and add settings
public page_init ( )

powered_by_callback() public method

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

print_section_info() public method

Print the Section text
public print_section_info ( )

sanitize() public method

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

suggested_donation_amount_callback() public method

Get the settings option array and print one of its values