[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Customizer settings for this theme.
File Size: | 542 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
TwentyTwenty_Customize:: (8 methods):
register()
sanitize_accent_accessible_colors()
sanitize_select()
sanitize_checkbox()
twentytwenty_customize_partial_blogname()
twentytwenty_customize_partial_blogdescription()
twentytwenty_customize_partial_site_logo()
twentytwenty_customize_opacity_range()
Class: TwentyTwenty_Customize - X-Ref
CUSTOMIZER SETTINGSregister( $wp_customize ) X-Ref |
Register customizer options. param: WP_Customize_Manager $wp_customize Theme Customizer object. since: Twenty Twenty 1.0 |
sanitize_accent_accessible_colors( $value ) X-Ref |
Sanitization callback for the "accent_accessible_colors" setting. return: array Returns sanitized value. Each item in the array gets sanitized separately. param: array $value The value we want to sanitize. since: Twenty Twenty 1.0 |
sanitize_select( $input, $setting ) X-Ref |
Sanitize select. return: string The input from the setting or the default setting. param: string $input The input from the setting. param: object $setting The selected setting. since: Twenty Twenty 1.0 |
sanitize_checkbox( $checked ) X-Ref |
Sanitize boolean for checkbox. return: bool param: bool $checked Whether or not a box is checked. since: Twenty Twenty 1.0 |
twentytwenty_customize_partial_blogname() X-Ref |
Render the site title for the selective refresh partial. since: Twenty Twenty 1.0 |
twentytwenty_customize_partial_blogdescription() X-Ref |
Render the site description for the selective refresh partial. since: Twenty Twenty 1.0 |
twentytwenty_customize_partial_site_logo() X-Ref |
Render the site logo for the selective refresh partial. Doing it this way so we don't have issues with `render_callback`'s arguments. since: Twenty Twenty 1.0 |
twentytwenty_customize_opacity_range() X-Ref |
Input attributes for cover overlay opacity option. return: array Array containing attribute names and their values. since: Twenty Twenty 1.0 |
Generated: Sat Nov 23 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |