Plugin / Delete Me
Clinton CaldwellInstallation
Installation
Basic
-
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.
- Custom Profile Page – Copy and paste the Shortcode
[plugin_delete_me /]into the Post or Page you’ve created. - Theme File – To call the Shortcode in one of your .php Theme files, use
<?php echo do_shortcode( '[plugin_delete_me /]' ); ?>. - Text Widget – To use the Shortcode in a Text Widget, make sure the line
add_filter( 'widget_text', 'do_shortcode' );appears in your Theme Functions (functions.php) file. - Attributes – The attributes
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.
Advanced: Translation
Note: Languages directory for plugins: /wp-content/languages/plugins
- Choose a translation method:
A) Get or provide translations of this plugin on WordPress.org. Alternatively, some language plugins (e.g. Polylang) can download and install the publicly available language files for plugins.
B) Create your own translations using the included delete-me.pot template file found in this plugin’s languages directory and the free tool Poedit. - Once you have finished your translations, export and save them as a .mo file.
- Name the .mo file delete-me-{locale}.mo (e.g. delete-me-en_US.mo)
- Place the .mo file into the languages directory for plugins.
If you’re using Poedit, it will create a .po file too. You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released. Just be aware that the actual translations used by the plugin are inside the .mo file.
Warning: If you place your translation files into this plugin’s languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin.
Ratings
Rating breakdown
Details Information
Version
First Released
Total Downloads
Wordpress Version
Tested up to:
Require PHP Version:
Tags
Contributors
Languages
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.