Filter hook 'register_meta_args'
in WP Core File wp-includes/meta.php at line 1453
Description
Filters the registration arguments when registering meta.
Occurrences
Filename |
Line Number |
wp-includes/meta.php |
1453 |
Parameters
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', or any other object type with an associated meta table. |
string |
$meta_key |
Meta key. |
PHP Doc
/**
* 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.
*/