- changed status to resolved
Staff details in edit user profile doubled IDs - add filter
Issue #371
resolved
A client wants to hide the 'Assigned products' in the edit-user.php so staff can't manage that. Would it be possible to add a filter so that this can be easily done?
Btw, by trying to find a quick CSS/JS solution, I found out that the id #staff-details is assigned twice on this page - for both titles. Can you make them unique so they can be targeted like this #staff-details+.form-table ?
Comments (1)
-
repo owner - Log in to comment
Added with 3.8.8
Also added filter 'woocommerce_appointments_staff_product_assignement' for optionally disabling staff product assignment.