Support

Account

Home Forums Feature Requests Action Hooks for acf_form() Reply To: Action Hooks for acf_form()

  • +1 for this! You can for instance remove “add media” buttons, but not using acf_form ?

    function mytheme_RemoveAddMediaButtonsForNonAdmins()
    {

    remove_action( ‘media_buttons’, ‘media_buttons’ );

    }
    add_action(‘admin_head’, ‘mytheme_RemoveAddMediaButtonsForNonAdmins’);