-
Notifications
You must be signed in to change notification settings - Fork 0
Users
Noah Mason edited this page Oct 22, 2022
·
5 revisions
WP Backstage can extend users with deeply integrated custom fields.
-
field_groups
array
― the user's field groups.-
id
string
― the field group's id. -
title
string
― the field group's title. -
description
string
― the field group's description. -
fields
array
― the field group's fields.
-
id
WP_Backstage_User::modify(
array(
'field_groups' => array(
array(
'id' => 'wp_backstage_user_fields',
'title' => __( 'All Fields', 'wp_backstage_examples' ),
'description' => __( 'These extra meta fields control further details about the user. <a href="#">Example Link</a>', 'wp_backstage_examples' ),
'fields' => array(),
),
array(
'id' => 'wp_backstage_user_extras',
'title' => __( 'Extras', 'wp_backstage_examples' ),
'description' => __( 'These extra meta fields control further details about the user. <a href="#">Example Link</a>', 'wp_backstage_examples' ),
'fields' => array(),
),
),
)
);
Create standardized and deployable WordPress objects like post types with meta boxes and custom fields, taxonomy terms with custom fields, options pages with custom fields and widgets with custom fields; and extend existing WordPress objects like pages, posts, attachments, categories, tags, users and nav menu items.
Website | GitHub | Docs | Issues | API Reference
© Copyright 2018-2022 Dreamsicle. All Rights Reserved.