wpseek.com
A WordPress-centric search engine for devs and theme authors



delete_postmeta › WordPress Action Hooks

Since2.9.0
Deprecatedn/a
do_action( 'delete_postmeta', $meta_ids )
Parameters:
  • (string[]) $meta_ids An array of metadata entry IDs to delete.
    Required: Yes
Defined at:
Codex:

Fires immediately before deleting metadata for a post.





Source

do_action( 'delete_postmeta', $meta_ids );