urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'cyrillic-ext,cyrillic,vietnamese,latin-ext,latin' ) ); $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); return esc_url_raw( $fonts_url ); } endif; /******************************************************************************* * Set the content width *******************************************************************************/ if ( ! isset( $content_width ) ) { $content_width = 1200; } /******************************************************************************* * Adds a span tag with dropdown icon after the unordered list * that has a sub menu on the mobile menu. *******************************************************************************/ class Apex_Business_Dropdown_Toggle_Walker_Nav_Menu extends Walker_Nav_Menu { function start_lvl( &$apex_business_output, $apex_business_depth = 0, $apex_business_args = array() ) { $apex_business_indent = str_repeat( "\t", $apex_business_depth ); if( 'mobile_menu' == $apex_business_args->theme_location ) { $apex_business_output .=''; } $apex_business_output .= "\n$apex_business_indent