WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
D
admin/
D
assets/
-
changelog.txt
24138
x
-
custom-permalinks.php
1626
x
D
includes/
-
index.php
35
x
-
license.txt
35147
x
-
readme.txt
21375
x
-
uninstall.php
970
x
Upload
Simpan
<?php /** * CustomPermalinks Uninstall * * Deletes Option and Post Permalinks on uninstalling the Plugin. * * @package CustomPermalinks * @since 1.2.18 */ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit; } delete_post_meta_by_key( 'custom_permalink' ); delete_option( 'custom_permalink_table' ); delete_option( 'custom_permalinks_post_types_settings' ); $wp_role = get_role( 'administrator' ); if ( ! empty( $wp_role ) ) { $wp_role->remove_cap( 'cp_view_post_permalinks' ); $wp_role->remove_cap( 'cp_view_category_permalinks' ); $wp_role->remove_cap( 'custom_permalinks_post_settings' ); } $wp_role = get_role( 'custom_permalinks_manager' ); if ( ! empty( $wp_role ) ) { $wp_role->remove_cap( 'cp_view_post_permalinks' ); $wp_role->remove_cap( 'cp_view_category_permalinks' ); $wp_role->remove_cap( 'custom_permalinks_post_settings' ); remove_role( 'custom_permalinks_manager' ); } // Clear any cached data that has been removed. wp_cache_flush();
Exec