[ Index ]

WordPress 5.4.1

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




/wp-content/themes/twentytwenty/inc/ -> custom-css.php (summary)

Twenty Twenty Custom CSS

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

Defines 2 functions


Functions that are not part of a class:

twentytwenty_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $echo = true )   X-Ref
Generate CSS.

param: string $selector The CSS selector.
param: string $style The CSS style.
param: string $value The CSS value.
param: string $prefix The CSS prefix.
param: string $suffix The CSS suffix.
param: bool   $echo Echo the styles.

twentytwenty_get_customizer_css( $type = 'front-end' )   X-Ref
Get CSS Built from Customizer Options.
Build CSS reflecting colors, fonts and other options set in the Customizer, and return them for output.

param: string $type Whether to return CSS for the "front-end", "block-editor" or "classic-editor".

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