Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Support for private option mappings #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frankiejarrett
Copy link
Contributor

Implements #5

'description' => __( 'Email Address' ),
'type' => 'string',
'format' => 'email',
'context' => array( 'view', 'edit' ),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would just be the edit context, as it's private information.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielbachhuber OK for some reason I was thinking that we would expose these in GET requests too if the user was authenticated with the proper capability.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants