"Available In Store Only" Products by Category
Lets customers browse products from chosen categories online but removes the Add to Cart button and shows an "available in store only" message instead.
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.
Lets customers browse products from chosen categories online but removes the Add to Cart button and shows an "available in store only" message instead.
Adds a [cookie_settings_link] shortcode that lets visitors change their cookie choice at any time: it clears the stored choice and reloads the page so the consent banner shows again.
Adds a dropdown to the classic checkout asking customers how they found your store, saves the answer with the order and shows it on the order screen.
Adds a "Save cart for later" button to the cart; customers can restore the saved cart from their My Account dashboard on any device.
Includes extra checkout fields you store on orders (such as a VAT number or delivery notes) in the order section of personal data exports.
Includes images stored in a custom field (a list of attachment IDs, such as a gallery) in the image entries of the Yoast SEO sitemap.
Adds "All Settings" to the Settings menu, which opens the hidden screen listing every stored option for administrators.
Blocks REST API routes for logged-out visitors except the namespaces you list (for example oEmbed, contact forms and the WooCommerce Store API), shrinking the public attack surface without breaking front-end features.
Once a day, shortens the stored IP address of approved comments older than 60 days, so you keep recent IPs for spam handling without holding personal data forever.
Masks the last part of visitor IP addresses before the Redirection plugin stores them in its redirect and 404 logs, keeping the logs useful while respecting privacy laws.
When a user account is deleted, keeps their comments but replaces the name with "Former member" and removes the email address, website and IP address stored with them.
Restores the Customize link under Appearance and in the admin bar on block themes, for quick access to Customizer settings such as Site Identity and Homepage Settings.
Adds a wpide_remember() helper that returns a cached value if there is one, or runs your function, stores the result for a set time and returns it, which makes caching slow queries and API calls a one-liner.
Stores the responses of public GET requests to the REST API (such as post lists used by headless front ends and block widgets) for a few minutes for logged-out visitors, and clears the cache when content changes.
Stores the comment totals that WordPress shows in the admin menu, toolbar and dashboard for 10 minutes, avoiding a slow counting query on every admin page view on sites with many comments.
Adds a [cached] shortcode you wrap around any slow shortcode or content, such as [cached ttl="3600"][some_feed][/cached]; its output is stored for the time you choose and served from cache after that.
Marks processing orders as completed automatically a number of days after purchase, for stores where you do not update orders when they are delivered.
Run on demand to permanently delete every pingback and trackback stored as a comment, which on older blogs are often thousands of spammy rows nobody reads.
Permanently deletes contact form messages saved by the Flamingo add-on once they are older than 180 days, so old enquiries and their personal data are not kept forever.
Adds a required "Delivery day" dropdown to the Checkout block listing the next working days, stored on the order with WooCommerce's additional fields API.
Sets the default product order for specific categories, for example newest first for "New arrivals" and price for "Clearance", while others keep the store default.
Turns off WooCommerce Analytics, the React-based admin home, onboarding and marketing screens, which noticeably speeds up the admin on smaller stores.
Shortens the IP address and drops the browser details WordPress stores with every login session, so session records no longer hold full personal data.
Stops WordPress from saving each commenter's browser user agent string with their comment, which is rarely needed and counts as personal data.