HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-external-links/public/js/wpel-pointers.js
/*
 * WP External Links
 * Backend GUI pointers
 * (c) WebFactory Ltd, 2017 - 2022
 */

jQuery(document).ready(function ($) {
  if (typeof wpel_pointers == 'undefined') {
    return;
  }

  $.each(wpel_pointers, function (index, pointer) {
    if (index.charAt(0) == '_') {
      return true;
    }
    $(pointer.target)
      .pointer({
        content: '<h3>WP External Links</h3><p>' + pointer.content + '</p>',
        pointerWidth: 380,
        position: {
          edge: pointer.edge,
          align: pointer.align,
        },
        close: function () {
          $.get(ajaxurl, {
            notice_name: index,
            _ajax_nonce: wpel_pointers._nonce_dismiss_pointer,
            action: 'wpel_dismiss_notice',
          });
        },
      })
      .pointer('open');
  });
});