Done !
| Server IP : 51.91.236.255 / Your IP : 216.73.217.126 Web Server : Apache System : Linux webm003.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : chloega ( 433239) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/chloega/www/wp-content/themes/inspiro/assets/js/unminified/ |
Upload File : |
jQuery(document).ready(function ($) {
// Check if the target element exists.
let pointerTarget = $(customAdminPointer.pointer_target);
if (pointerTarget.length) {
pointerTarget.pointer({
content: customAdminPointer.pointer_text,
position: {
edge: 'left', // Positioning of the pointer relative to the target.
align: 'center' // Align the pointer.
},
close: function () {
// Perform any action after the pointer is closed (like updating user meta to avoid showing it again).
$.post(ajaxurl, {
action: 'dismiss_wp_pointer',
pointer: 'custom_admin_pointer' // Unique identifier for the pointer.
})
.done(function (response) {
console.log('Success:', response);
})
.fail(function (jqXHR, textStatus, errorThrown) {
console.log('Error:', textStatus, errorThrown);
});
}
}).pointer('open');
}
});