wpsc_cdn_urls

wpsc_cdn_urls

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-super-cache.1.9.4

apply_filters('wpsc_cdn_urls') is found 1 times:

  • /ossdl-cdn.php line 205

    if ( ! in_array( $ossdl_off_cdn_url, (array) $ossdl_arr_of_cnames, true ) ) {
    $ossdl_arr_of_cnames = array_merge( array( $ossdl_off_cdn_url ), (array) $ossdl_arr_of_cnames );
    }

    $ossdl_arr_of_cnames = apply_filters( ‘wpsc_cdn_urls’, $ossdl_arr_of_cnames );

    $dirs = scossdl_off_additional_directories();
    $regex = ‘`(?<=[(\"\'])' . preg_quote( $ossdl_off_blog_url, '`' ) . '/(?:((?:' . $dirs . ')[^\"\')]+)|([^/\"\']+\.[^/\"\')]+))(?=[\"\')])`'; return preg_replace_callback( $regex, 'scossdl_off_rewriter', $content ); } [/php]