>
Field Type
Field Label Appears on the edit screen
Field Name Unique slug. No spaces.
Endpoint Define an endpoint for the previous tabs to stop.
Fields added after this will appear below the tabs.
Return Format What gets saved
'Image Array', 'url' => 'Image URL', 'id' => 'Image ID', ) as $val => $lbl ) : ?>
Choices Enter each choice on a new line.
Slugs are auto-generated.
'; continue; } $slug = strpos( $line, ':' ) !== false ? trim( explode( ':', $line )[0] ) : trim( preg_replace( '/(^_|_$)/', '', preg_replace( '/[^a-z0-9]+/', '_', strtolower( $line ) ) ) ); echo '
'; } } ?>
true ), 'objects' ); $saved_tax_slug = $field['taxonomy_slug'] ?? ''; // Fallback: if saved via old textarea method if ( empty( $saved_tax_slug ) && ! empty( $field['options_raw'] ) ) { $saved_tax_slug = sanitize_key( trim( explode( "\n", $field['options_raw'] )[0] ) ); } ?>
Taxonomy Select the taxonomy to use
Dynamic Source Field Name of a post_type_selector field to auto-filter this taxonomy.
Appearance Select the input appearance
Sub Fields
#
Label
Name
Type
Actions
$sub ) : ?> render_builder_field( $sub, $name_prefix . '[sub_fields][' . $j . ']', $j, $depth + 1 ); ?>
Layouts Define section types
$fc_layout ) : ?>
slug:
#
Label
Name
Type
Actions
$lsf ) : ?> render_builder_field( $lsf, $lpfx . '[sub_fields][' . $lj . ']', $lj, $depth + 1 ); ?>
Number Constraints Min, Max, Step, Placeholder
Min
Max
Step
Placeholder
Required?
Layout Inline or stacked
Rows Height of text area in lines
New Lines Controls how new lines are formatted on output
Accept Empty Rows? If checked, 0 rows can be saved. If unchecked, min 1 row is required.
Wrapper Width Explicit width on edit screen
Display View
Conditional Logic Show/hide based on other fields
$rule ) { $rf = esc_attr( $rule['field'] ?? '' ); $rop = esc_attr( $rule['operator'] ?? '==' ); $rv = esc_attr( $rule['value'] ?? '' ); echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; } } ?>