Add a Custom WP-CLI Command
Registers a "wp site-stats" WP-CLI command that prints counts of posts, pages, comments and users, as a template for your own command-line tools.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Registers a "wp site-stats" WP-CLI command that prints counts of posts, pages, comments and users, as a template for your own command-line tools.
Marks paid orders as Completed instead of Processing when every item is virtual, such as services, memberships or event tickets.
Turns on automatic background updates for the plugins you list (for example your security and backup plugins), so security fixes for them are installed within hours without waiting for you.
Sets a post's title and slug from ACF fields when it is saved, for example a team member's first and last name, so editors never type it twice.
Automatically cancels on-hold orders paid by bank transfer or cheque that are still unpaid after a set number of days, returning the stock to your shop.
Marks processing orders as completed automatically a number of days after purchase, for stores where you do not update orders when they are delivered.
Copies an ACF summary field into the post excerpt on save when the excerpt is empty, so themes, feeds and search results show your summary.
Schedules a custom task once a day and gives you a function to fill in, for example to clean up data or send a report. Includes the scheduling and the hook.
Fills in the excerpt field from the first sentences of the post when it is saved without one, so feeds, plugins and APIs that read the stored excerpt always get a summary.
Adds tags to posts when they are saved if the title or content mentions keywords you define, for example tagging every post that mentions "WooCommerce" or "Gutenberg", so tagging stays consistent.