#10 added support for the CDN
Opened 3 years ago by ryanlerch. Modified 3 years ago

@@ -549,5 +549,9 @@ 

  // Enqueue live preview javascript in Theme Customizer admin screen

  add_action( 'customize_preview_init' , array( 'lingonberry_Customize' , 'lingonberry_live_preview' ) );

  

+ function cdn_url() {

+     return 'https://cdn.communityblog.fedoraproject.org/wp-content/uploads';

+ }

+ add_filter( 'pre_option_upload_url_path', 'cdn_url' );

  

- ?> 

\ No newline at end of file

+ ?>

Metadata