I have extended a custom type post using the ACF plugin all works fine in the back-end. My theme allows users to edit posts via front-end. The theme is equipped with a hook for adding custom fields
<?php do_action( 'ad_post_form_fields' , $ad ); ?>
I need help to allow users to edit the ACF fields via front-end. A sample code with a custom field is much appreciated.