Untitled Snippet

Content-Type HTTP response header, element within the first 1024 bytes of your HTML document.

Lock users if website is idle for certain period ウェブサイトが一定期間アイドル状態の場合にユーザーをロックするBy Amiru San

如果网站闲置一段时间,锁定用户. ウェブサイトが一定期間アイドル状態の場合にユーザーをロックする By Amiru San

Disable Tasty Pins on the homepage and the blog page

This snippet will disable the Tasty Pins on the homepage and the blog page

<10

WPcode

WPcode

Irina Pasechnik
<10

use login

this is a login of user

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 86 87 88 89 90 218