[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-content/themes/twentytwenty/classes/ -> class-twentytwenty-customize.php (summary)

Customizer settings for this theme.

File Size: 526 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TwentyTwenty_Customize:: (8 methods):

Class: TwentyTwenty_Customize  - X-Ref


register( $wp_customize )   X-Ref
Register customizer options.

param: WP_Customize_Manager $wp_customize Theme Customizer object.

sanitize_accent_accessible_colors( $value )   X-Ref
Sanitization callback for the "accent_accessible_colors" setting.

param: array $value The value we want to sanitize.
return: array       Returns sanitized value. Each item in the array gets sanitized separately.

sanitize_select( $input, $setting )   X-Ref
Sanitize select.

param: string $input The input from the setting.
param: object $setting The selected setting.
return: string $input|$setting->default The input from the setting or the default setting.

sanitize_checkbox( $checked )   X-Ref
Sanitize boolean for checkbox.

param: bool $checked Whether or not a box is checked.
return: bool

twentytwenty_customize_partial_blogname()   X-Ref
Render the site title for the selective refresh partial.

twentytwenty_customize_partial_blogdescription()   X-Ref
Render the site description for the selective refresh partial.

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.

twentytwenty_customize_opacity_range()   X-Ref
Input attributes for cover overlay opacity option.

return: array Array containing attribute names and their values.

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1