ID; $theme_data = wp_get_theme(); if ( !get_user_meta( $user_id, esc_html( $theme_data->get( 'TextDomain' ) ) . '_notice_ignore' ) ) { ?>
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 ); } } if (!function_exists('amaz_store_admin_enqueue_scripts')) { function amaz_store_admin_enqueue_scripts(){ wp_enqueue_style( 'thunk-admin-css', get_template_directory_uri() . '/lib/welcome-bar/admin.css' ); } } add_action( 'admin_enqueue_scripts', 'amaz_store_admin_enqueue_scripts'); ?>