Failed login: Don't show if username is correct

If a user's login fails, don't tell them whether the username or password was incorrect

MemberPress: Expire Subscription Immediately After Subscription Is Canceled

By default, canceling subscriptions prevents future charges, but it does not end existing subscriptions, which allow…

Untitled Snippet

// Define the API URL const apiUrl = 'https://api.example.com/data'; // Make a GET request fetch(apiUrl) .then(response…

Mwanaidi Masoud PRO
<10

WPCode Admin Number of Snippets (copy)

Change the number of snippets displayed in the admin list using a filter.

WooCommerce Programmatically Cancel Pending Orders After 1 Hour

Post More Detail It’s possible that you’re thinking, “But I can already do that using the…

0000 > CLASS > Show Data

// this is the class definition class myfair_Show_Data { public function __construct() { $this->loadShows(); if (isset($this->showList)…

Buy with Prime

add_action( ‘woocommerce_after_add_to_cart_form’, ‘QL_add_text_under_add_to_cart’ ); function QL_add_text_under_add_to_cart () { global $product; ?>

Change "Email" On Donation Form

This will change wording on the donation form for the "Email" field, although this snippet can…

MemberPress: Disable MemberPress Protection Based on Custom Post Type And Tag

This code snippet disables content protection for specific post types that are also tagged with a…

MemberPress: Auto Approve Sub-Accounts with New User Approve Plugin

This code snippet can be used if the New User Approve plugin is set on the…

Quiz About Getting Old

10 question multiple choice quiz about getting old

ACF JSON Menu Import

if( function_exists('acf_add_options_page') ) { acf_add_options_page(); } // // 1. Register ACF Field for Menu JSON add_action('acf/init',…

Reinhard Ekker
<10

Wordpress Debugging

define( 'WP_DEBUG', true ); define( 'SAVEQUERIES', true );

1 … 86 87 88 89 90 … 243