Файловый менеджер - Редактировать - /home/harasnat/www/horse/wp-content/plugins/admin-menu-editor/uninstall.php
Назад
<?php /** * @author W-Shadow * @copyright 2015 * * The uninstallation script. */ if( defined( 'ABSPATH') && defined('WP_UNINSTALL_PLUGIN') ) { //Remove the plugin's settings delete_option('ws_menu_editor'); if ( function_exists('delete_site_option') ){ delete_site_option('ws_menu_editor'); } //Remove hint visibility flags if ( function_exists('delete_metadata') ) { delete_metadata('user', 0, 'ame_show_hints', '', true); } //Remove module settings. delete_option('ws_ame_plugin_visibility'); delete_option('ws_ame_dashboard_widgets'); if ( function_exists('delete_site_option') ){ delete_site_option('ws_ame_plugin_visibility'); delete_site_option('ws_ame_hide_pv_notice'); delete_site_option('ws_ame_dashboard_widgets'); } //Remove redirect settings. delete_option('ws_ame_redirects'); if ( function_exists('delete_site_option') ) { delete_site_option('ws_ame_redirects'); delete_site_option('ws_ame_rui_first_change'); } if ( function_exists('delete_metadata') ) { delete_metadata('user', 0, 'ame_rui_first_login_done', '', true); } //Run module uninstallers. $ameModuleUninstallers = [ __DIR__ . '/modules/highlight-new-menus/uninstall.php', __DIR__ . '/modules/content-permissions/uninstall.php', ]; foreach ($ameModuleUninstallers as $ameUninstallerFile) { if ( file_exists($ameUninstallerFile) ) { include ($ameUninstallerFile); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка