urlencode( implode( '|', $font_families ) ), //'subset' => urlencode( 'latin,latin-ext' ), 'subset' => urlencode( 'latin' ), ); } if ( !empty( $query_args ) ) $fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' ); return $fonts_url; } /** * Dequeue font awesome from frontend if a similar handle exists (registered by another plugin) * but it is already enqueued using the theme * * @since 1.0 * @access public * @return void */ function chromaticfw_base_dequeue_fontawesome() { if ( current_theme_supports( 'font-awesome' ) && wp_style_is( 'fontawesome' ) ) wp_dequeue_style( 'fontawesome' ); }