| Server IP : 217.113.158.245 / Your IP : 216.73.217.83 Web Server : Apache/2.4.41 (Ubuntu) System : Linux bg-hoster 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.27 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/platforma/wp-content/plugins/parallax-backgrounds-for-vc/ |
Upload File : |
<?php
/**
* Uninstallation routine.
*
* @version 1.1
* @package Parallax Backgrounds for VC
*/
// If uninstall is not called from WordPress, exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit();
}
// NOTE: This should correspond to the pointer_name in the main plugin file.
$pointer_name = 'gambitprlx';
// Deletes the dismissed admin pointer for this plugin.
$dismissed_admin_pointers = get_user_meta( get_current_user_id(), 'dismissed_wp_pointers' );
$dismissed_admin_pointers = preg_replace( '/' . $pointer_name . '(,)?)/', null, $dismissed_admin_pointers['0'] );
$dismissed_admin_pointers = preg_replace( '/(,)$/', null, $dismissed_admin_pointers );
update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $dismissed_admin_pointers );