MemberPress: Replace Country Code with Country Name

Replaces the 2-digit country code in the {$user_address} parameter for emails with the full country name.

Changing the logo on the WordPress login page.

// Zmiana logo na stronie logowania Wordpress. add_filter( 'login_head', function () { $custom_logo = 'https://yourimageurl.com'; $logo_width…

Defining Amazon SES Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

om-manually-set-global-cookies.js

// Set OptinMonster Global Cookies when this function runs function setGlobalCookies() { document.cookie = "omSuccessCookie=true; expires=Fri,…

slide-top-right.css

html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }

MemberPress: Free-Views-Left Counter

This code will add the counter notification showing users how many free views they have left…

Webhook smart tags

{ "smart_tags": { "region": "Gujarat", "state": "Gujarat", "province": "Gujarat", "territory": "Gujarat", "region_code": "GJ", "country": "India", "country_code":…

CSS for Countdown Timer text

Translate the text ‘Days’, ‘Hours’, ‘Minutes’, and ‘Seconds’ into another language.

MemberPress: Add a Shortcode To Display the Number of Total Downloads for All Files

Adds the following shortcode: [mepr-display-total-downloads]. When added to any page or post, the shortcode will display…

Sarge

This snippet is the script for Sarge webchat to pop up

MemberPress: Disable Reminders if a Member has Any Active Subscription

MemberPress reminders are triggered by each individual subscription. Thus, reminders will be automatically triggered by for…

1 131 132 133 134 135 219