Support

Account

Home Forums ACF PRO acf_form remove 'edit' button

Helping

acf_form remove 'edit' button

  • Hi there,

    I’m using acf_form to upload images on the front-end. However, I do not want the ‘edit’ button to appear after an image is uploaded (which takes the user to wp-admin), instead I only want the remove button to appear.

    For now, I’m just using an ugly JS hack to .remove() them as an interim solution.

    Could you please direct me to where I could remove the edit link programmatically for all ACF image fields on the front-end using acf_form?

    Thanks in advance!

  • Hi @ryandorn

    I believe your method is the best way to do it.

    Another method is to set the “uploader” option to “basic”. This will remove the WP uploader from the front end form. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/acf_form/.

    I hope this helps 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.