Filters the sanitization of a specific meta key of a specific meta type.
Description
The dynamic portions of the hook name, $meta_type, and $meta_key, refer to the metadata object type (blog, comment, post, term, or user) and the meta key value, respectively.
Parameters
$meta_valuemixed
Metadata value to sanitize.
$meta_keystring
Metadata key.
$object_typestring
Type of object metadata is for. Accepts 'blog', 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
1371*1372* @param mixed$meta_value Metadata value to sanitize.1373* @param string$meta_key Metadata key.1374* @param string$object_type Type of object metadata is for. Accepts 'blog','post','comment','term',1375*'user',or any other object type with an associated meta table.1376*/1377returnapply_filters("sanitize_{$object_type}_meta_{$meta_key}",$meta_value,$meta_key,$object_type);1378}13791380/**1381* Registers a meta key.1382*1383* It is recommended to register meta keys for a specific combination of object type andobject subtype.If passing
History
Introduced in 3.3.0. Unchanged from 6.7.7 through 7.1.0.