Most shortcodes let you pass a shortcode attribute of “capture=” with a comma separated list of destinations to send the output of the shortcode to. This can be used to capture the output of a shortcode and push it into a custom local field for later use.
Current parameters you can use in the capture= parameter are:
display: Displays the output as usual. If you have capture specified and omit this, then the normal display of the shortcode won’t happen.
field:fieldname: – Captures the output of the shortcode into the fieldname