Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix images using CloudFlare hotlink protection and Beaver Builder
// 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.cdn.com/', $css );
return $css;
});
@JohnBunka

This comment has been minimized.

Copy link
Owner Author

@JohnBunka JohnBunka commented Feb 6, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment