[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/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

  twentytwenty_generate_css()
  twentytwenty_get_customizer_css()

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 : Wed Oct 28 08:20:01 2020 Cross-referenced by PHPXref