HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //var/www/iranga.kauko.lt/wp-content/plugins/under-construction-page/js/ucp-admin-pointers.js
/*
 * UnderConstructionPage
 * Backend GUI pointers
 * (c) WebFactory Ltd, 2015 - 2025
 */


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

  $.each(ucp_pointers, function(index, pointer) {
    if (index.charAt(0) == '_') {
      return true;
    }
    $(pointer.target).pointer({
        content: '<h3>' + ucp.plugin_name + '</h3><p>' + pointer.content + '</p>',
        position: {
            edge: pointer.edge,
            align: pointer.align
        },
        width: 320,
        close: function() {
                $.post(ajaxurl, {
                    pointer: index,
                    _ajax_nonce: ucp_pointers._nonce_dismiss_pointer,
                    action: 'ucp_dismiss_pointer'
                });
        }
      }).pointer('open');
  });
});