开发者 | cmc3215 |
---|---|
更新时间 | 2024年6月2日 22:24 |
捐献地址: | 去捐款 |
PHP版本: | 5.2.4 及以上 |
WordPress版本: | 6.5.3 |
版权: | GPL2 http://www.gnu.org/licenses/gpl-2.0.html |
[plugin_delete_me /]
.
Settings for this plugin are found on the Settings -> Delete Me subpanel. Multisite and Network Activation supported.
How it works:
class
and style
attributes of the delete link.<a>
tag clickable content of the delete link.[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_url
may 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.Most Post types and Comments are moved to Trash. Links are always deleted permanently.
Yes, Network Activation and single Site activation are both supported. Users and their content will only be deleted from the Site they delete themselves from, other Network Sites will be unaffected.
By default, users registered to multiple Sites on the Network are only deleted from the current Site and will remain registered to their remaining Sites. However, if the setting "Delete From Network" is checked, users will be deleted from the entire Network.
No, the user deleted is the currently logged in user, period.
Nothing, when using the self-closing Shortcode tag (i.e. [plugin_delete_me /]
). However, when the opening and closing Shortcode tags are used (i.e. [plugin_delete_me]
Content[/plugin_delete_me]
), the content inside the tags will appear instead of the delete link.
The Settings -> Delete Me subpanel lets you enter any URL you'd like to redirect deleted users to, set to homepage by default. You can leave "Landing URL" blank to have users remain at the same URL after deletion.
Yes, the delete link on the Your Profile page leads to a pre-built confirmation page. You can optionally require users to confirm their password on this page before deletion. The Shortcode delete Link provides a Javascript confirm dialog [OK] [Cancel] by default, but may be disabled if preferred. Additionally, the Shortcode has a setting that provides a Form instead of the Link, which requires users to confirm their password.
Yes. The Settings -> Delete Me subpanel has a setting called "E-mail Notification", just check the box and save changes.
No, the only data stored is related to the plugin's settings which are located on the Settings -> Delete Me subpanel.
Plugins
panel in WordPress.$wpdb->prepare()
on Multisite installations using WordPress 3.5+is_plugin_active_for_network()
on Multisite installations when adding a new Site from outside the WordPress Admin pages.