Support

Account

Home Forums Backend Issues (wp-admin) Add a custom button in an acf

Unread

Add a custom button in an acf

  • Hello there,

    I need to add a button inside an acf which will manage a script after clicking on this button.
    How could I do this ?

    Concretely speaking, I would have an acf with (text + button) to manage a memory cache.
    The input text would determine a default tempo (by entering a number in the text field) and the button is planned to clear the cache (with a script linked to this button).

    For convenient reason, it would be good to have those elements in the same acf. Is it possible to do this ?
    Can I target the meta box created by the acf and inject the button after ?

    If you have any idea of a method, I would be very pleased….
    Best regards,

    Manu

    PS – Sorry for my english

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.