Skip to content

Instantly share code, notes, and snippets.

@carlosonweb
Created September 28, 2017 02:16
Show Gist options
  • Save carlosonweb/3012629f344e23bee742c001c784771f to your computer and use it in GitHub Desktop.
Save carlosonweb/3012629f344e23bee742c001c784771f to your computer and use it in GitHub Desktop.
Fix URL References for Background Images used on Beaver Builder Modules and Rows
add_filter( 'fl_builder_render_css', function( $css ) {
return str_ireplace( 'example.com', 'cdn-url.example.com', $css );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment