Support » Plugin: Autoptimize » CDN, filters

  • I’m using wpengine to host my WP site and using their CDN. I asked them for the CDN Base URL but every time I enter this, it breaks the website.

    Can someone help assist with this?

    Also, where would I add this filter:
    add_filter(‘autoptimize_filter_noptimize’,’pagebuilder_noptimize’,10,0);
    function pagebuilder_noptimize() {
    if (is_user_logged_in()) {
    return true;
    } else {
    return false;
    }
    }

    In the functions.php file?

Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘CDN, filters’ is closed to new replies.