Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cleanup URL in Beaver Builder for CSS Purposes - Press Avenue
//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