WP-CLI and Background Jobs
Reign LearnDash Addon overviewPremiumGet Reign LearnDash Addon →
WP-CLI
Section titled “WP-CLI”| Command | What it does |
|---|---|
wp reign-ld sync |
Queues every saved social group link and syncs it now. Adds missing members, never removes any. Prints the links left and then Synced N social group links. |
wp reign-ld upgrade |
Runs the one-time 5.1.0 upgrade at once and prints one line per step. |
wp reign-ld upgrade --revert-shortcodes |
Puts back the post content and Elementor data saved before [reign_courses] became [modern_courses]. A post edited since the update is left as it is and counted as skipped. Prints N restored, N left as they are because they were edited since the update. |
wp reign-ld sync exists only when BuddyPress 14 or newer, or BuddyBoss, has the Groups component on. Use these commands on large sites, where the admin screen would take several batches.
Permissions
Section titled “Permissions”Who can do what is in Settings keys and stored data.
Background jobs
Section titled “Background jobs”- Community sync uses Action Scheduler (
reign_ld_community_syncin thereign-ldgroup) when it is installed. Otherwise it uses a single WP-Cron event. - The 5.1.0 upgrade runs from admin page loads, then WP-Cron (
reign_ld_upgrade).
The add-on has one admin-only AJAX action, reign_ld_find_groups. It powers the Existing group search in the Reign box. It checks a nonce and the edit_posts capability, and returns up to 20 unlinked groups. Site administrators see any group. Others see only groups they run. It is not a public API.

