Whenever I add a new shortcode using the shortcode interface, fields from other shortcodes will populate into the generated shortcode if the field type is 'checkbox'.
For example, between two available shortcodes:
[foo] with text field name, and
[bar] with checkbox field is_enabled,
If I insert the shortcode [foo] into the wysiwyg, the resulting shortcode looks like:
[foo name="..." is_enabled="false"].
Whenever I add a new shortcode using the shortcode interface, fields from other shortcodes will populate into the generated shortcode if the field type is 'checkbox'.
For example, between two available shortcodes:
[foo]
with text fieldname
, and[bar]
with checkbox fieldis_enabled
, If I insert the shortcode[foo]
into the wysiwyg, the resulting shortcode looks like:[foo name="..." is_enabled="false"]
.