urlencode( implode( '|', $apex_dentist_font_families ) ), 'subset' => urlencode( 'cyrillic-ext,cyrillic,vietnamese,latin-ext,latin' ) ); $apex_dentist_fonts_url = add_query_arg( $apex_dentist_query_args, 'https://fonts.googleapis.com/css' ); return esc_url_raw( $apex_dentist_fonts_url ); } endif; /************************************************************************************************************************* * Set the content width ************************************************************************************************************************/ if ( ! isset( $content_width ) ) { $content_width = 900; } /************************************************************************************************************************* * Delay pro notice after_setup_theme ************************************************************************************************************************/ if ( ! function_exists( 'apex_dentist_delay_pro_notice' ) ) : function apex_dentist_delay_pro_notice() { global $pagenow; if ( is_admin() && ('themes.php' == $pagenow) && isset( $_GET['activated'] ) ) { if (!isset($_COOKIE['statepro'])) { setcookie('statepro', 'hidden', time()+86400); // 1 day } } } endif; add_action( 'after_setup_theme', 'apex_dentist_delay_pro_notice' ); /************************************************************************************************************************* * Apex Dentist Pro notice ************************************************************************************************************************/ function apex_dentist_pro_notice() { global $pagenow; if ( is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" ) { $pro_state = esc_html( 'hidden' ); } else if( isset( $_COOKIE[ 'statepro' ] ) ) { $pro_state = sanitize_text_field( wp_unslash( $_COOKIE[ 'statepro' ] ) ); } else { $pro_state = ''; } ?>

'; $apex_dentist_output .= "\n$apex_dentist_indent