$user->ID, 'name' => $user->display_name, 'email' => $user->user_email, 'avatar' => get_avatar_url( $user->ID ), ]; } // Get WooCommerce store settings $store_settings = self::get_store_settings(); // Get asset URLs $plugin_url = plugins_url( '', dirname( dirname( __FILE__ ) ) ); $asset_url = $plugin_url . '/admin-spa/dist'; // Cache busting $version = defined( 'WP_DEBUG' ) && WP_DEBUG ? time() : '1.0.0'; $css_url = $asset_url . '/app.css?ver=' . $version; $js_url = $asset_url . '/app.js?ver=' . $version; // Render HTML ?> <?php // Priority: Store Name > WooNooW $store_name = get_option( 'woonoow_store_name', '' ); if ( empty( $store_name ) ) { $store_name = get_option( 'blogname', 'WooNooW' ); } echo esc_html( $store_name ); ?>
$currency, 'currency_symbol' => $currency_sym, 'decimals' => (int) $decimals, 'thousand_sep' => (string) $thousand_sep, 'decimal_sep' => (string) $decimal_sep, 'currency_pos' => (string) $currency_pos, ]; } }