Admin Notice Helper That Survives Redirects
Adds a wpide_flash_notice() helper that queues a success, warning or error message for the current user and shows it on the next admin screen, even after a redirect.
Snippet Library
3,040 snippets written and tested by the WPIDE team.
Adds a wpide_flash_notice() helper that queues a success, warning or error message for the current user and shows it on the next admin screen, even after a redirect.
Shows administrators a warning in the dashboard when WordPress could not send an email, with the error message, so delivery problems are noticed quickly.
Adds an "Affiliate Area" link to the toolbar for logged-in affiliates, showing their unpaid earnings, so they can reach their dashboard from anywhere on the site.
Shows an affiliate or sponsorship disclosure at the top of posts in the categories you choose, so you never forget to add it by hand.
Adds a [wpide_affiliate_stats] shortcode that shows the logged-in affiliate their unpaid and paid earnings, referral count, visits and personal referral link on any page.
Adds a required "I confirm I am 18 or older" checkbox to the classic checkout and records the confirmation on the order.
Scans the uploads folder once a day for PHP files, which never belong there and usually mean a backdoor, and emails the administrator and shows a dashboard warning when new ones show up.
Emails the site admin whenever someone requests a password reset for an administrator account, an early warning sign of an attempt to take over the site.
Checks your site's root folder once a day and emails the administrator when wp-config.php, .htaccess, .user.ini or php.ini change, or when new PHP files appear next to WordPress's own files.
Emails the site's admin address whenever any administrator account changes its email address or password, a key warning sign of an account takeover.
Adds "All Settings" to the Settings menu, which opens the hidden screen listing every stored option for administrators.
Administrators can only log in from the IP addresses or ranges you list; everyone else logs in as usual.
Turns on Application Passwords for local and development copies of the site that run on plain http, so you can test REST API integrations and apps locally the same way as in production.
Lets users who can write posts but not upload files (the Contributor role) add images to their drafts. The role itself is not changed in the database.
Stops logged-in customers from buying the same product twice, for example a course, a membership or a limited item, and tells them they already own it.
Adds HTML tags such as dialog, search and address to the list Bricks accepts in an element's custom tag setting, for more semantic markup.
Lets administrators upload web fonts (WOFF, WOFF2, TTF, OTF), EPUB eBooks, JSON and GPX files to the Media Library, which WordPress blocks by default.
Adds max-snippet:-1 and max-video-preview:-1 to the robots meta tag, letting search engines show longer text snippets and video previews for your pages.
Keeps links and basic formatting in the Biographical Info field for users who are trusted with unfiltered HTML, instead of stripping it.
Lets administrators upload data files such as JSON, CSV, XML and Markdown to the Media Library, which WordPress blocks by default.
Rejects user signups on the network unless the email address belongs to one of your domains, such as a school or company network.
Temporarily blocks logins for everyone except administrators, for example during a migration or a security incident.
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.
Rejects dates in the past in Gravity Forms date fields used for bookings, deliveries or appointments, with an optional number of days' notice.