Méthode |
Description |
|
__construct ( ) |
|
|
_style_fix ( ) |
|
|
add_field ( $section, $field ) |
|
|
add_section ( array $section ) |
Add a single section |
|
admin_enqueue_scripts ( ) |
Enqueue scripts and styles |
|
admin_init ( ) |
Initialize and registers the settings sections and fileds to WordPress |
|
callback_checkbox ( array $args ) |
Displays a checkbox for a settings field |
|
callback_color ( array $args ) |
Displays a color picker field for a settings field |
|
callback_file ( array $args ) |
Displays a file upload field for a settings field |
|
callback_html ( array $args ) : string |
Displays a textarea for a settings field |
|
callback_multicheck ( array $args ) |
Displays a multicheckbox a settings field |
|
callback_number ( array $args ) |
Displays a number field for a settings field |
|
callback_password ( array $args ) |
Displays a password field for a settings field |
|
callback_radio ( array $args ) |
Displays a multicheckbox a settings field |
|
callback_select ( array $args ) |
Displays a selectbox for a settings field |
|
callback_text ( array $args ) |
Displays a text field for a settings field |
|
callback_textarea ( array $args ) |
Displays a textarea for a settings field |
|
callback_url ( array $args ) |
Displays a url field for a settings field |
|
callback_wysiwyg ( array $args ) |
Displays a rich text textarea for a settings field |
|
get_field_description ( array $args ) |
Get field description for display |
|
get_option ( string $option, string $section, string $default = '' ) : string |
Get the value of a settings field |
|
get_sanitize_callback ( string $slug = '' ) : mixed |
Get sanitization callback for given option slug |
|
sanitize_options ( $options ) : mixed |
Sanitize callback for Settings API |
|
script ( ) |
Tabbable JavaScript codes & Initiate Color Picker |
|
set_fields ( array $fields ) |
Set settings fields |
|
set_sections ( array $sections ) |
Set settings sections |
|
show_forms ( ) |
Show the section settings forms |
|
show_navigation ( ) |
Show navigations as tab |
|