Command for accessing the CiviCRM API. Syntax is identical to drush cvap
.
Command for accessing clearing cache. Equivilant of running civicrm/admin/setting/updateConfigBackend&reset=1
.
Command for to turn debug on.
Command for to turn debug off.
Run the CiviMember UpdateMembershipRecord cron (civicrm member-records).
Process pending CiviMail mailing jobs.
Example: wp civicrm process-mail-queue -u admin
Rest interface for accessing CiviCRM APIs. It can return xml
or json
formatted data.
Restore CiviCRM codebase and database back from the specified backup directory.
Show CiviCRM database connection details.
A string which connects to the CiviCRM database.
Quickly enter the mysql
command line.
Prints the whole CiviCRM database to STDOUT
or save to a file.
Usage: wp civicrm sql-query <query> <options>...
<query>
is a SQL statement which can alternatively be passed via STDIN
. Any additional arguments are passed to the mysql
command directly.
Update config_backend
to correct config settings, especially when the CiviCRM site has been cloned or migrated.
Take backups, replace CiviCRM codebase with new specified tarfile and upgrade database by executing the CiviCRM upgrade process - civicrm/upgrade?reset=1
. Use wp civicrm restore
to revert to previous state in case anything goes wrong.
Run civicrm/upgrade?reset=1
just as a web browser would.
Command for to install CiviCRM. The install command requires that you have downloaded a tarball or zip file first.
Options:
--dbhost MySQL host for your WordPress/CiviCRM database. Defaults to localhost.
--dbname MySQL database name of your WordPress/CiviCRM database.
--dbpass MySQL password for your WordPress/CiviCRM database.
--dbuser MySQL username for your WordPress/CiviCRM database.
--lang Default language to use for installation.
--langtarfile Path to your l10n tar.gz file.
--site_url Base Url for your WordPress/CiviCRM website without http (e.g. mysite.com)
--ssl Using ssl for your WordPress/CiviCRM website if set to on (e.g. --ssl=on)
--tarfile Path to your CiviCRM tar.gz file.
--zipfile Path to your CiviCRM zip file.