March 2020
Beginner
660 pages
18h 28m
English
The default Bulk Actions feature only has Delete as an option. This feature allows you to delete multiple users at once. In this recipe, we needed to add a custom feature to mark users as Staff Members. So, we used the admin_footer action with a callback function called wpccp_chapter5_user_action_buttons.
Inside the callback function, we retrieve the current screen using the get_current_screen function. The returned object from this function contains data such as an ID for the admin screen, post type, taxonomy, and so on. We use ...
Read now
Unlock full access