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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems