Allow users with specific WordPress roles to delete themselves from the Your Profile page or anywhere Shortcodes can be used.
Install automatically in WordPress on the Plugins -> Add New subpanel or upload the delete-me folder to the /wp-content/plugins/ directory.
Activate the plugin on the Plugins panel in WordPress.
Go to the Settings -> Delete Me subpanel, check the WordPress roles you want to allow to delete themselves using Delete Me, and click Save Changes.
Thats it! The delete link will be placed automatically near the bottom of the Your Profile page for roles you allowed. If you prefer the delete link be on your front-end, please read below.
Advanced: Shortcode Usage
Note: To prevent the delete link from appearing on the Your Profile page, uncheck the setting Link Enabled.
[plugin_delete_me /]into the Post or Page you've created.
<?php echo do_shortcode( '[plugin_delete_me /]' ); ?>.
add_filter( 'widget_text', 'do_shortcode' );appears in your Theme Functions (functions.php) file.
class, style, html, js_confirm_warning, landing_urlmay be used to override settings, but are not required. They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.
Requires: 3.4 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 1,000+
1 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?