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

document field options #24

Open
quasel opened this issue Jun 7, 2017 · 0 comments
Open

document field options #24

quasel opened this issue Jun 7, 2017 · 0 comments
Assignees

Comments

@quasel
Copy link
Member

quasel commented Jun 7, 2017

Field Options are based on the Pods Configuration array to be used mainly as filter in recurse_pod_fields()

Examples:

$field_options['type'] = 'file';
$field_options['type'] = 'color';
$field_options['options']['file_format_type'] = 'single'
$field_options['options']['file_format_type'] = 'multi';

file is used for images to catch the "custom setting" :/

Special Options to change the output from recurse_pod_fields()

$field_options['add_pod_name'] = 'true';
$field_options['base_pod_name'] = 'pod_name'

was introduce especially for settings&user pods as they are "side wide options" and we need to know and add the pod_name to '$settings' as its not based on get_post_type() see GitHub

@quasel quasel added this to the 1.0 milestone Jun 7, 2017
@quasel quasel self-assigned this Jun 7, 2017
@sc0ttkclark sc0ttkclark modified the milestones: 1.0, Future Release Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants