Warning: set_time_limit() has been disabled for security reasons in /home/domains/vol3/223/3261223/user/htdocs/wp-content/plugins/contact-form-7/wp-contact-form-7.php on line 26 Server IP : 77.68.64.20 / Your IP : 216.73.216.231 Web Server : Apache System : Linux hp3-wp-1011484.hostingp3.local 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64 User : csh2668037 ( 2112352) PHP Version : 7.4.33 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/domains/vol3/223/3261223/user/htdocs/wp-content/plugins/wp-pagenavi/ |
Upload File : |
<?php
/*
* Uninstall plugin
*/
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
exit ();
$option_names = array(
'pagenavi_options'
);
if ( is_multisite() ) {
$ms_sites = function_exists( 'get_sites' ) ? get_sites() : wp_get_sites();
if( 0 < sizeof( $ms_sites ) ) {
foreach ( $ms_sites as $ms_site ) {
$blog_id = isset( $ms_site['blog_id'] ) ? $ms_site['blog_id'] : $ms_site->blog_id;
switch_to_blog( $blog_id );
if( sizeof( $option_names ) > 0 ) {
foreach( $option_names as $option_name ) {
delete_option( $option_name );
plugin_uninstalled();
}
}
}
}
restore_current_blog();
} else {
if( sizeof( $option_names ) > 0 ) {
foreach( $option_names as $option_name ) {
delete_option( $option_name );
plugin_uninstalled();
}
}
}
/**
* Delete plugin table when uninstalled
*
* @access public
* @return void
*/
function plugin_uninstalled() {
global $wpdb;
}