Skip to content

WordPress plugin to easily clear post meta for a specific post/page/custom post type

License

Notifications You must be signed in to change notification settings

rinatkhaziev/clear-post-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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 Meta and 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

About

WordPress plugin to easily clear post meta for a specific post/page/custom post type

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published