WordPress at a glance
filter is not described

register_meta_args filter-hook . WP 4.6.0

Filters the registration arguments when registering meta.


add_filter( 'register_meta_args', 'filter_function_name_8383', 10, 4 );
function filter_function_name_8383( $args, $defaults, $object_type, $meta_key ){
	// filter...

	return $args;
Array of meta registration arguments.
Array of default arguments.
Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
Meta key.


Since 4.6.0 Introduced.

Where the hook is called

wp-includes/meta.php 1204
$args = apply_filters( 'register_meta_args', $args, $defaults, $object_type, $meta_key );

Where in WP core the hook is used

wp-includes/default-filters.php 99
add_filter( 'register_meta_args', '_wp_register_meta_args_whitelist', 10, 2 );