Show User ID
List user ID column after username on admin user table.
Untitled Snippet
google-site-verification=2qRnmMOU51GWk3rx-tL2TwbUAd1kOVvjw9caXI6AvrA google-site-verification=2qRnmMOU51GWk3rx-tL2TwbUAd1kOVvjw9caXI6AvrA
Fix 500 Internal Server Error
A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…
Search Exclude Category
Search exclude selected categories from search results without altering SEO.
WC Vendors - Show the "AI" overlay on the product image
// Add an "AI used" checkbox to the vendor's own product edit form, after Tax Class…
Disable Gutenberg Editor (use Classic Editor)
add_filter('gutenberg_can_edit_post', '__return_false', 5); add_filter('use_block_editor_for_post', '__return_false', 5);
Custom Screen Option
Show screen option for selected user only.
Set the ranges for Calendar List View | Display Eventbrite Events
The following code snippet filters the valid ranges for the next/prev keys of the calendar list…
Cusdtom WP escape
One major difficulty with passing WordPress org security reviews is escaping late. This function may help.
WC Vendors Marketplace vendor's list - Change Search for a vendor
Change Search for a vendor - WC Vendors Marketplace
Tasty Roundups - Change Heading from h2 to h3
Change all your Tasty Roundup headings from h2 tags to h3 tags
Disable WP Texturize
// Disable curly quotes remove_filter( 'the_content', 'wptexturize' );
Block WP-Admin Area from Non-Administrators
Prevent users who are not administrators from accessing the wp-admin area.