I know how to assign a single role for a user. But coming to the multiple roles for a user is not working...Is wordpress gives this facility or not.Thanks in advance.
相关问题
- Display product ACF field value in Woocommerce tra
- Adding a custom button after add to cart button in
- How to add a “active” class to a carousel first el
- Setting custom order statuses as valid for payment
- change the font size in tag cloud
相关文章
- wordpress新增页面如何个性化设置
- select query in wordpress
- Get WooCommerce featured products in a WP_Query
- Woocommerce update shipping methods in checkout vi
- Change order status just after payment in WooComme
- Publishing or uploading failed. Error message: “Th
- Facebook Login With WP JWT Auth
- Wordpress development process
Yes, WordPress allows this. You can do it in your code:
You can also use a plugin such as Multiple Roles. The plugin will transform the select dropdown into checkboxes.
For completeness, this is possible!
This is not possible in Wordpress currently, as this is how the core role mapping is designed. You can however create "combination" roles, but this might lead to a large number of roles when you have a lot of core roles to combine.
Another option would be using a plugin such as User Role Editor, which can help you giving more control of Wordpress' role mapping.