MemberPress: Adjusting Paywall Cookie Expiry Time

This code snippet modifies the default expiration period (30 days) for the MemberPress paywall cookie. The…

Round Percent Donated To Whole Number

/** * Display percent donated as rounded whole number. * * @param string $return * @param…

Include Subscriptions in API

Include EDD Subscription payments in the /edd-api/sales endpoint

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: Add/Override State Drop Down Values

Adding this code snippet to a website will override the list of states available under the…

Partner Group GTM Head Tag

Add GTM Tag to Site Header on Partner Site Group

Colin Bunn PRO
<10

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; ?>

1 … 86 87 88 89 90 … 244