PUBLIC DOCUMENTATION

Fields, content types and visual FSE editing with DMBB.

← All Help Topics
HOW TO USE · VERSION 9.5.0

Hidden (Pro)

Store a value without displaying an editor control.

Screenshots and walkthrough — expand to view

Screenshots use sample data and English labels. Follow the translated instructions on this page; your theme, language, permissions and license can change the available controls. Select an image to view it at full size.

Hidden field: builder settings, storage key and validation options.
Hidden field: builder settings, storage key and validation options.
Hidden fields have no visible input. The builder defines their key and initial value; this editor overview shows the surrounding fields.
Hidden fields have no visible input. The builder defines their key and initial value; this editor overview shows the surrounding fields.
What it does Creates a hidden input that still participates in post saving.
Use it when Fixed flags, internal markers or controlled values.
How to configure Set the default value. The editor will not see a visible control.
Saved as A sanitized string in post meta.
EXAMPLE

Content Marker

landing-page
Read a Hidden Field in PHP

Use the field Key from the builder as the second argument of get_post_meta(). Escape or sanitize the value for its final output context.

$value = get_post_meta( get_the_ID(), 'your_meta_key', true );

echo esc_html( $value );
Hidden fields are still ordinary post meta values. A Hidden field is not a security mechanism because users with appropriate editing access can inspect or change post data.
Important: Hidden does not mean secure. Do not use it to protect secrets or permissions.

Documentation for Dynamic Meta Box Builder 9.5.0.