Home Forums Add-ons Flexible Content Field use 'acf/render_field' with flexible content field


use 'acf/render_field' with flexible content field

  • Hi, I would like to ues ‘acf/render_field’ with flexible content field, to output a buton at the end of each template. So I did the following test

                    function renderACFfield( $field ) {
                                                   echo '<div> test</div>'; 
    add_filter( 'acf/render_field', 'renderACFfield', 10, 1 );

    my div outputs on each field and at the begging of the Flexible content field but is there a way to print that at the end of every “layout”.


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.