- Timestamp:
- 04/20/2022 02:22:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/inc/custom-css.php
r51294 r53236 18 18 * @param string $prefix The CSS prefix. 19 19 * @param string $suffix The CSS suffix. 20 * @param bool $ echo Echothe styles.20 * @param bool $display Output the styles. 21 21 * @return string 22 22 */ 23 function twenty_twenty_one_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $ echo= true ) {23 function twenty_twenty_one_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $display = true ) { 24 24 25 25 // Bail early if there is no $selector elements or properties and $value. … … 30 30 $css = sprintf( '%s { %s: %s; }', $selector, $style, $prefix . $value . $suffix ); 31 31 32 if ( $ echo) {32 if ( $display ) { 33 33 /* 34 34 * Note to reviewers: $css contains auto-generated CSS.
Note: See TracChangeset
for help on using the changeset viewer.