Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/meta.php | apply_filters | 1444 | /** * Filters the registration arguments when registering meta. * * @since 4.6.0 * * @param array $args Array of meta registration arguments. * @param array $defaults Array of default arguments. * @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 $meta_key Meta key. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $args | Array of meta registration arguments. |
array | $defaults | Array of default arguments. |
string | $object_type | Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', |
string | $meta_key | Meta key. |