Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/rinatkhaziev/clear-post-meta/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Clear Post Meta
Have you ever wished you could delete all post meta for the post/page/custom post type you're editing with 1 click? Well now you can!
How to use
- Activate the plugin.
- Navigate to a post edit screen.
- You will see admin bar item (and a meta box, for good measure).
- Click
Clear Post Metaand confirm that you really want to do it.
Notes
By default editors and above can delete meta, to change that you can use cpm_clear_cap filter:
add_filter( 'cpm_clear_cap', function() { return 'manage_options'; } );
Requirements
This plugin requires PHP7. I repeat, this plugin requires PHP7.
Changelog
- 0.1 Initial Release