do_action( ‘delete_postmeta’, string[] $meta_ids )

In this article

Fires immediately before deleting metadata for a post.

Parameters

$meta_idsstring[]
An array of metadata entry IDs to delete.

Source

do_action( 'delete_postmeta', $meta_ids );

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.