Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/meta.php | apply_filters | 1328 | /** * Filters the sanitization of a specific meta key of a specific meta type and subtype. * * The dynamic portions of the hook name, `$object_type`, `$meta_key`, * and `$object_subtype`, refer to the metadata object type (comment, post, term, or user), * the meta key value, and the object subtype respectively. * * @since 4.9.8 * * @param mixed $meta_value Metadata value to sanitize. * @param string $meta_key Metadata key. * @param string $object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', * or any other object type with an associated meta table. * @param string $object_subtype Object subtype. */ |
wp-includes/meta.php | apply_filters | 1345 | /** * Filters the sanitization of a specific meta key of a specific meta type. * * The dynamic portions of the hook name, `$meta_type`, and `$meta_key`, * refer to the metadata object type (comment, post, term, or user) and the meta * key value, respectively. * * @since 3.3.0 * * @param mixed $meta_value Metadata value to sanitize. * @param string $meta_key Metadata key. * @param string $object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', * or any other object type with an associated meta table. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
mixed | $meta_value | Metadata value to sanitize. |
string | $meta_key | Metadata key. |
string | $object_type | Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', |
string | $object_subtype | Object subtype. |
mixed | $meta_value | Metadata value to sanitize. |
string | $meta_key | Metadata key. |
string | $object_type | Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', |
string | $object_subtype | Object subtype. |