• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Custom Role To Allow Users To Submit WooCommerce Products For Review

This code adds a custom role for vendors/product contributors so admins can review new products submitted for review prior to publishing.

The code also enables you to set custom capabilities providing the site owner control over what can be accessed, edited, read and deleted similar to the default contributor role in WordPress.

Vendor User

Demo Video

Shows how to create a new user withe the vendor role enabling user submitted wooCommerce products that can be reviewed by admins before publishing.

Installation Steps

There’s 2 steps :

  1. # Copy the PHP code from functions.php ( without the opening PHP tag ) to the end of your child themes functions file.
  2.  

    Step 1

  3. # Create a new user and select the Vendor role like you see in the demo video.
  4.  

    Step 2

Note : Once you have installed the code, you m ay need to switch to another theme and then switch back as the code uses the switch_theme hook.

Download Folder

WooCommerce

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.