[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/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

  twentytwenty_generate_css()
  twentytwenty_get_customizer_css()

Functions
Functions that are not part of a class:

twentytwenty_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $display = 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   $display  Print 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: Sun Nov 3 01:00:03 2024 Cross-referenced by PHPXref 0.7.1