Remove the option to reset your password upon login

Remove the option to reset your password upon login. So only admins can reset passwords for…

MemberPress: Exclude MemberPress Custom Post Types from WordPress Search Results

By default, protected content could show up in the website search results. Though still protected, they…

https://sites.google.com/d/1avAsGl7oMBLJIChoaW9yaoOiAr-B6jfK/p/1kbx8BATlg53-QAVM9O8IXHJhuAw0qg1E/

https://sites.google.com/d/1avAsGl7oMBLJIChoaW9yaoOiAr-B6jfK/p/1kbx8BATlg53-QAVM9O8IXHJhuAw0qg1E/

WordPress - Display the Last Updated Date

Add the last updated date & time to your posts in the frontend.

Enforce 2FA for Admins

The script enforces 2FA for the Admin Users. Just add this code snippet in Functions File.

Disable XML-RPC (copy)

On sites running WordPress 3.5+, disable XML-RPC completely.

MemberPress: Restrict Purchase of a Specific Membership Based on Existing Subscriptions

This code snippet restricts the purchase of a specified MemberPress membership (restricted membership), based on a…

Restrict payment methods based on cart total

Restrict payment methods based on cart total

Database connection test snippet

A snippet to test the connection to the database.

om.Dtr.init

document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );

om.Action.init

document.addEventListener('om.Action.init', function(event) { console.log(event.detail.Action); console.log(event.detail.Campaign); } );

om.Analytics.track

document.addEventListener('om.Analytics.track', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

1 … 115 116 117 118 119 … 244