delete_{$meta_type}meta

Advertisement

Summery Summery

Fires immediately before deleting post or comment metadata of a specific type.

Syntax Syntax

do_action( "delete_{$meta_type}meta", int $meta_id )

Description Description

The dynamic portion of the hook, $meta_type, refers to the meta object type (post or comment).

Parameters Parameters

$meta_id

ID of the metadata entry to delete.

Source Source

File: wp-includes/meta.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Advertisement

Leave a Reply