Filter: bricks/theme_style_name
Filters the name of the Theme Style used when generating the CSS file name. This allows you to sanitize or modify the name before it is used in the file system.
Parameters
Section titled “Parameters”$name(string): The theme style name.$theme_style(array): The theme style data array.
Example usage
Section titled “Example usage”add_filter( 'bricks/theme_style_name', function( $name, $theme_style ) { // Example: Prefix theme style file names return 'custom-prefix-' . $name;}, 10, 2 );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Thanks for sharing feedback. We're using it to improve these docs.