Filters the registration arguments when registering meta.
Parameters
$args
array- Array of meta registration arguments.
$defaults
array- Array of default arguments.
$object_type
string- Type of object metadata is for. Accepts
'post'
,'comment'
,'term'
,'user'
, or any other object type with an associated meta table. $meta_key
string- Meta key.
Source
$args = apply_filters( 'register_meta_args', $args, $defaults, $object_type, $meta_key );
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.