# king-addons/51.1.84/includes/widgets/Woo_My_Account_Navigation/script.js

King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder, version 51.1.84. 34 lines.

- Page: https://pluginprobe.com/plugins/king-addons/51.1.84/code/includes/widgets/Woo_My_Account_Navigation/script.js
- Raw: https://pluginprobe.com/plugins/king-addons/51.1.84/raw/includes/widgets/Woo_My_Account_Navigation/script.js
- Modified: 2026-09-21T18:08:40+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/king-addons/51.1.84/code/includes/widgets/Woo_My_Account_Navigation/script.js#L10-L20`.

```javascript
/**
 * Woo My Account Navigation widget behavior.
 *
 * Navigation behavior is handled by WooCommerce. This script provides an
 * Elementor hook to ensure correct initialization in the editor.
 */
(function ($) {
  "use strict";

  /**
   * Initialize widget instance.
   *
   * @param {Object} $scope Elementor scope.
   * @returns {void}
   */
  const initWooMyAccountNavigation = ($scope) => {
    void $scope;
  };

  $(window).on("elementor/frontend/init", function () {
    elementorFrontend.hooks.addAction(
      "frontend/element_ready/woo_my_account_navigation.default",
      function ($scope) {
        initWooMyAccountNavigation($scope);
      }
    );
  });
})(jQuery);






```
