Skip to content

Instantly share code, notes, and snippets.

@Pross Pross/something.php
Created Dec 1, 2016

What would you like to do?
class Sasha_pl_uploads_url {
function __construct() {
add_filter( 'pl_uploads_url', array( $this, 'filter' ) );
function filter( $url ) {
return 'http://my.cdn.url/wp-content/uploads';
new Sasha_pl_uploads_url();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.