# fluent-cart/1.3.26/assets/edit-wp-user-global.js

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.3.26. 6 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.3.26/code/assets/edit-wp-user-global.js
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.3.26/raw/assets/edit-wp-user-global.js
- Modified: 2026-04-07T13:41:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.3.26/code/assets/edit-wp-user-global.js#L10-L20`.

```javascript
(function(){({init(){window.fluentcart_edit_user_global_bar_vars.edit_user_vars&&window.fluentcart_edit_user_global_bar_vars.edit_user_vars.fct_profile_url&&this.maybeUserProfile(window.fluentcart_edit_user_global_bar_vars.edit_user_vars)},maybeUserProfile(t){const e=window.jQuery("#profile-page > .wp-header-end");if(!e.length){console.warn('FluentCart: Target element "#profile-page > .wp-header-end" not found');return}try{window.jQuery(`<a
                style="background: #00009f;color: white;border-color: #00009f;"
                target="_blank"
                class="page-title-action"
                href="${t.fct_profile_url}">View FluentCart Profile</a>`).insertBefore(e)}catch(r){console.error("FluentCart: Error inserting profile link:",r)}}}).init()})();

```
