ID; $theme_data = wp_get_theme(); $top_store_icon = apply_filters( 'top_store_page_top_icon', true ); $top_store_nme = apply_filters( 'top_store_welcome_page_notice_header_site_title',''); if ( !get_user_meta( $user_id, esc_html( $theme_data->get( 'TextDomain' ) ) . '_notice_ignore' ) ) { ?>

Version ) ); }else{ /* translators: %1$s: theme name, %2$s theme version */ printf( esc_html__( 'Thank you for Installing %1$s - Version %2$s', 'top-store' ), esc_html($theme_data->Name), esc_html( $theme_data->Version ) ); } ?>

', '?' . esc_html( $theme_data->get( 'TextDomain' ) ) . '_notice_ignore=0' ); }else{ /* translators: %1$s: theme name, %2$s link */ printf( __( 'Visit %1$s options page to take full advantage of theme.', 'top-store' ), esc_html( $theme_data->Name ), esc_url( admin_url( 'themes.php?page=top-store' ) ) ); printf( '', '?' . esc_html( $theme_data->get( 'TextDomain' ) ) . '_notice_ignore=0' ); } ?>

Name ) ); } ?>

ID; /* If user clicks to ignore the notice, add that to their user meta */ if ( isset( $_GET[ esc_html( $theme_data->get( 'TextDomain' ) ) . '_notice_ignore' ] ) && '0' == $_GET[ esc_html( $theme_data->get( 'TextDomain' ) ) . '_notice_ignore' ] ) { add_user_meta( $user_id, esc_html( $theme_data->get( 'TextDomain' ) ) . '_notice_ignore', 'true', true ); } }