Field Render

Display a custom PHP/HTML message using a simple named hook.

Field Value

The value cannot be retrieved as the field isn’t saved as custom meta.

Field Content

You can render any custom content using the native acf/render_field hook. Usage example:

/*
 * https://www.advancedcustomfields.com/resources/acf-render_field/
 */
add_action('acf/render_field/name=dynamic_message', 'my_acf_dynamic_message');
function my_acf_dynamic_message($field){
    ?>
    
    <table class="wp-list-table widefat fixed striped">
      <tr>
        <td>Island Trading</td>
        <td>Helen Bennett</td>
        <td>UK</td>
      </tr>
    </table>
    
    <?php
}