Свойство | Тип | Описание | |
---|---|---|---|
$registered_handler_settings | |||
$wipe_handler_options | boolean | When the handler is changed, we can't keep the same handler-specific options saved, so this flag ensures that we wipe the data. |
Метод | Описание | |
---|---|---|
admin_page ( ) | Print the content | |
ajax_handler_section ( ) | Handle an AJAX request for the handler section | |
bootstrap ( ) | Bootstrap the class | |
handle_save_on_network ( ) | Handle option saving in the network admin | |
init ( ) | Initialization | |
network_settings_errors ( ) | ||
register_handler_settings_fields ( $group, $section, $handler_type = null, $current = null ) | Notify the handler to register handler-specific options | |
register_menu ( ) | Add our menu item | |
settings_field_from ( ) | Print field for the reply-to address | |
settings_field_replyto ( ) | Print field for the reply-to address | |
settings_field_send_async ( ) | Print field for the Send to Author checkbox | |
settings_field_send_to_author ( ) | Print field for the Send to Author checkbox | |
settings_field_type ( ) | Print field for the handler type | |
settings_section_handler ( ) | ||
settings_section_main ( ) | Print description for the main settings section | |
validate_from_email ( string $input ) : string | Validate the reply-to address | |
validate_handler_options ( $input ) | Validate the handler-specific options via the handler's methods | |
validate_replyto ( string $input ) : string | Validate the reply-to address | |
validate_send_async ( string $input ) : string | Validate the Send to Author checkbox | |
validate_send_to_author ( string $input ) : string | Validate the Send to Author checkbox | |
validate_type ( string $input ) : string | boolean | Validate the handler type |
public static ajax_handler_section ( ) |
public static bootstrap ( ) |
public static handle_save_on_network ( ) |
public static register_handler_settings_fields ( $group, $section, $handler_type = null, $current = null ) |
public static settings_field_from ( ) |
public static settings_field_replyto ( ) |
public static settings_field_send_async ( ) |
public static settings_field_send_to_author ( ) |
public static settings_field_type ( ) |
public static settings_section_main ( ) |
public static validate_from_email ( string $input ) : string | ||
$input | string | New reply-to address |
Результат | string | Updated reply-to address if valid, otherwise the old address |
public static validate_handler_options ( $input ) |
public static validate_replyto ( string $input ) : string | ||
$input | string | New reply-to address |
Результат | string | Updated reply-to address if valid, otherwise the old address |
public static validate_send_async ( string $input ) : string | ||
$input | string | |
Результат | string |
public static validate_send_to_author ( string $input ) : string | ||
$input | string | |
Результат | string |
protected static $registered_handler_settings |
protected static bool $wipe_handler_options | ||
Результат | boolean |