| Server IP : 65.109.86.83 / Your IP : 192.168.100.1 Web Server : nginx/1.20.1 System : Linux libra 5.14.0-570.26.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 16 21:00:44 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/remove-category-url/ |
Upload File : |
<?php
/**
* Fired when the plugin is uninstalled.
*
* @package Remove_Category_URL
* @author Valerio Souza <eu@valeriosouza.com.br>
* @license GPL-2.0+
* @link http://wordpress.org/plugins/remove-category-url
* @copyright 2013 CodeHost
*/
// If uninstall not called from WordPress, then exit
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
remove_filter('category_rewrite_rules', 'remove_category_url_rewrite_rules');
flush_rewrite_rules( false );