Allow users with specific WordPress roles to delete themselves from the `Users -> Your Profile` subpanel or anywhere Shortcodes can be used.
Install automatically in WordPress on the
Plugins -> Add New subpanel or upload the
delete-me folder to the
Activate the plugin on the
Plugins panel in WordPress.
Go to the
Settings -> Delete Me subpanel. Select the WordPress roles you want to allow to delete themselves using Delete Me and save changes.
The delete link will be placed automatically on the
Users -> Your Profile subpanel for roles you allow, but if you have a Post or Page you'd like the delete link to appear on just copy and paste the Shortcode
[plugin_delete_me /] there. A custom PHP template can use the Shortcode like so
<?php echo do_shortcode( '[plugin_delete_me /]' ); ?>