Created
March 5, 2019 03:55
-
-
Save JohnBunka/9fe2141cb237b43b5d5548f49cb5f2fd to your computer and use it in GitHub Desktop.
Cleanup URL in Beaver Builder for CSS Purposes - Press Avenue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Beaver Builder - Replace your actual URL with the CDN URL for CSS purposes | |
// You would adjust the URLs to fit your URLs. The first URL is your actual URL. The second is your CDN url. | |
add_filter( 'fl_builder_render_css', function( $css ) { | |
$css = str_replace( 'https://pressavenue.com/', 'https://your-amazing-cdn-uwl-here.com/', $css ); | |
return $css; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment