Used By
Used By | Description |
---|---|
wp-includes/meta.php: delete_metadata_by_mid() | Deletes metadata by meta ID. |
Short-circuits deleting metadata of a specific type by meta ID.
The dynamic portion of the hook, $meta_type
, refers to the meta object type (post, comment, term, user, or any other type with an associated meta table). Returning a non-null value will effectively short-circuit the function.
(null|bool) Whether to allow metadata deletion of the given type.
(int) Meta ID.
File: wp-includes/meta.php
Version | Description |
---|---|
5.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_meta_type_metadata_by_mid