Make Image Field Required showing (optional)

Steps to reproduce

Used code snippet provided to make image field required
(Make first name, last name and image fields required)

Actual result

Code works fine but ‘Optional’ is still showing up even when an image is selected

Expected result

‘Optional’ should not appear

Please try this PHP snippet to make a profile image as required field Make the profile image required for users #hivepress #users · GitHub

1 Like

Thanks Yevhen, really appreciate it! :raised_hands:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.