wpseek.com
A WordPress-centric search engine for devs and theme authors



register_meta_args › WordPress Filter Hooks

Since4.6.0
Deprecatedn/a
apply_filters( 'register_meta_args', $args, $defaults, $object_type, $meta_key )
Parameters: (4)
  • (array) $args Array of meta registration arguments.
    Required: Yes
  • (array) $defaults Array of default arguments.
    Required: Yes
  • (string) $object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
    Required: Yes
  • (string) $meta_key Meta key.
    Required: Yes
Defined at:
Codex:

Filters the registration arguments when registering meta.





Source

$args = apply_filters( 'register_meta_args', $args, $defaults, $object_type, $meta_key );