ah, there is a plugin that does this, but it also have some more features.
Related Posts:
- Adding a second email address to a completed order in WooCommerce [closed]
- Check if post is being published for the first time, or is an already published post being updated
- Apply custom role capabilities to administrator (without plugin)
- Get user id from email?
- Roles & capabilities GUI that does not create separate table
- Using email_exists() wp function in an ajax request
- How do I redirect upon login a specific user based on role?
- How to add another user to this remove_menu function?
- Add a new subscriber role using a function
- How do I call wp_mail from HTML?
- Trouble using antispambot()
- How to test for Super Admin
- Custom roles can’t access to wp-admin
- Custom registration URL lost when user makes signup mistake
- Custom function for specific user role
- Hide Author.php template from specific user role
- edit role display name and label name without plugins
- create shortcode to list users with specific meta key value
- Toggle User Roles with button
- Contact Form 7 – Delay auto responds
- How to change or add user role after getting post request data about pay? [closed]
- Execute a ultimate member action when user role is updated
- wp-comment author- url +, email filter hook
- Allowing users to view private posts (pending approval)
- Allow Contributor to edit their own posts after Adm aproval
- Deprecated function get_user_by_email($email)
- How to add custom JavaScript in functions?
- How to set default post editor based on role?
- How to change this simple code so that it sends the email notification after payment in WooCommerce?
- load CSS only for administrators on backend
- Adding additional roles on registration
- The Capability to choose post/page template
- How to add array [closed]
- Get users with different roles and call function on each of them (user_meta)
- How can I show different content for different user-levels?
- Custom user role still showing up after deletion, ideas?
- How to load a css file depending on the current role
- Allow user select role in wordpress default registration without plugin
- Paragraph spaces in email template function
- Remove check boxes and its label from screen option for custom role
- Add Change role button for list of user in an event
- How to show only specific category post by user role without plugin and restrict all other cats
- Change user role based on total number of items ordered
- Remove all video attachment, both files and post/postmeta from database?
- Problem with email function
- delete_user_meta for user in spesific group
- Change the second role depending on the first
- Restrict certain roles registrations by domain
- Multisite Admin Roles
- What add_action reference should I be using or should I use do_action?
- add_role menu pages are not visible
- Mail function not working with user accounts
- Do something when user creates post (that’s pending)
- How to hook wp_mail to add a custom email as BCC for each sent email?
- Get all users from role and add to dropdown (select) – wordpress, javascript
- How to change the markup WordPress inserts for post images
- wp_mail not running inside Cron
- Remove product description from product archive page
- Logging in redirects to correct page but shows logged out content until forced refresh
- Increment price for Woocommerce Minicart [closed]
- Change woocommerce products weight varation based its product category or tags? [closed]
- Function to “Press Update Button” on all posts
- Completely disable RSS feeds on WP 5.5.2 and show a 404 page instead of die();
- Check if row exists before inserting
- Missing argument 2 for a custom function widgets_init
- Removing the main link to Jetpack from the menu
- Defining a global array in functions.php?
- Get the 5 lastest Featured Posts from a category
- Set quantity of woocommerce product on page visit [closed]
- get_post_type() in in_array doesn’t work for some reason
- Is it possible to change any of the HTML/URL returned from the_category()
- How to remove set_post_thumbnail_size() in child themes?
- How to load jQuery in the footer – nothing works for me
- how to en-queue jQuery to load before the tag
- Can’t filter wp_get_attachment_link
- Impossible to call wordpress function inside an include?
- How to customize the_archive_title()? Cannot figure out how to change the value it produces [duplicate]
- Remove a category from a post when saving a new post
- Want to dequeue all the CSS and JS from /wp-content/uploads/xyz-folder
- Scripts not loading when using the wp_enqueue_scripts action
- is there a way to remove featured image from blog page and single page
- Include the post type before the title of search results
- add referrer to woo
- overwrite code snippet from parent to child theme
- Get Attachment Category Name
- Problem with custom function when I go back with the browser
- How i can get the URL?
- Add version # to wp_register_style function
- How to remove font awesome from loading in wp theme
- Add custom css file after plugin css with WordPress Child Theme functions.php
- Removing comment lines from all enqueued js files using a filter function
- Auto copy value from specific user meta field to another field
- Route wordpress with template
- Change is_front_page() to is_page() to display ‘hero’ on entire site?
- Getting back a blank WordPress site following functions code edit
- Insert menu into theme location depending on user logged in/out status
- Add functionality to post editor
- Define an extra field for all pages (with no plugin?)
- Set thumbnail from URL, by grabbing image in functions.php
- How I can show short content with short tag