WP-CLI

Showing 1 result

Share

Don't Repeat Yourself: Automating Repetitive Tasks with WP-CLI

In a recent project, there were several programmatic tasks I needed to repeat periodically. One task in particular involved updating user-level permissions based on evidence of membership level purchase or subscription.

Instead of going into the admin panel and manually deleting hundreds (maybe thousands) of subscriptions, I opted to reach for one of my favorite WordPress tools: WP-CLI, which fixed the problem in a few keystrokes.

12 minute readContinue Reading
Nathan Finch

Nathan Finch

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.