Batch
Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code.
If you need assistance with this, please reach out to our list of consultants for further assistance:
https://codeable.io/developers/restrict-content-pro/
The wp rcp batch command allows you to complete batch processing jobs through WP-CLI instead of through the Restrict Content Pro interface.
Options:
–id=
–name=
–step=
–force=
You can type wp help rcp batch to see a list of available options.
Examples:
Run job #1:
wp rcp batch –id=1
Run the 3.0 memberships migration job:
wp rcp batch –name=”Memberships Migration”
Run the 3.0 memberships migration job from the beginning:
wp rcp batch –name=”Memberships Migration” –force=true