[ Index ]

PHP Cross Reference of WordPress




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

Twenty Twenty Custom CSS

File Size: 195 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.

since: Twenty Twenty 1.0
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.

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

Generated: Mon Oct 18 01:00:03 2021 Cross-referenced by PHPXref 0.7.1