ACF Template Builder

Changing shortcode output

All field-types are handled using WP's hook system. You can add filters to change the output by targeting the specific field-type.

[pastacode path_id="cc2c89005035ef02a47a7307221f736d/4a34c076c7f434fac2b18af3ea215eb09032c46b" lang="php" provider="gist" /]

Default display:

acf-shortcode-out-1

Display after changing the filter:

acf-shortcode-out-2