_wp_register_meta_args_allowed_list


_wp_register_meta_args_allowed_list ( $args, $default_args )

Access:
  • private
Parameters:
  • (array) args Arguments from `register_meta()`.
  • (array) default_args Default arguments for `register_meta()`.
Returns:
  • (array) Filtered arguments.
Defined at:

Description

Filters out `register_meta()` args based on an allowed list.`register_meta()` args may change over time, so requiring the allowed list to be explicitly turned off is a warranty seal of sorts.

Related Functions

_wp_register_meta_args_whitelist, wp_register_sidebar_widget, registered_meta_key_exists, _wp_get_allowed_postdata, wp_unregister_globals

Top Google Results

User discussions

wpseek mobile