register_meta_args

Advertisement

Summery Summery

Filters the registration arguments when registering meta.

Syntax Syntax

apply_filters( 'register_meta_args', array $args, array $defaults, string $object_type, string $meta_key )

Parameters Parameters

$args

Array of meta registration arguments.

$defaults

Array of default arguments.

$object_type

Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.

$meta_key

Meta key.

Source Source

File: wp-includes/meta.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply