Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Add label argument to register_meta function #7298

Closed
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ protected function get_registered_fields() {

$default_schema = array(
'type' => $default_args['type'],
'label' => empty( $args['label'] ) ? '' : $args['label'],
'title' => empty( $args['label'] ) ? '' : $args['label'],
gziolo marked this conversation as resolved.
Show resolved Hide resolved
'description' => empty( $args['description'] ) ? '' : $args['description'],
'default' => isset( $args['default'] ) ? $args['default'] : null,
);
Expand Down
Loading