Membership Level

The wp rcp membership-level command for Restrict Content Pro version 3.5.9 allows you to create, update, delete, list, and get membership levels.

Options:

  • wp rcp membership-level list
  • wp rcp membership-level list --format='count'
  • wp rcp membership-level list --format='ids'
  • wp rcp membership-level list --field=name
  • wp rcp membership-level list --fields=id,name,description
  • wp rcp membership-level get 1
  • wp rcp membership-level get 1 --field=name
  • wp rcp membership-level delete 1
  • wp rcp membership-level delete 1 2 3
  • wp rcp membership-level create --name='example'
  • wp rcp membership-level create --name='example 2' --status='active'
  • wp rcp membership-level create --name='example 3' --porcelain
  • wp rcp membership-level update 1 --name='1 Month Recurring (Updated)'
  • wp rcp membership-level update 1 2 --price=20

Examples:

Get a full list of all Member Levels:
wp rcp membership-level list

list.png

 

Create a new, active Member Level named example 2:
wp rcp membership-level create --name='example 2' --status='active'

create.png

 

Powered by Zendesk