Skip to content

Instantly share code, notes, and snippets.

<?php
/*
Plugin Name: Verified Users
Version: 1.0
Description: Very simple verified users option
Author: Devin Vinson
Text Domain: verified-users
Domain Path: /languages
*/
<?php
/*
Plugin Name: Emergency Broadcast System
Author: Everyone
*/
function ebs_header_message() {
echo '<div style="background:red;color:white">THIS IS BAD. COME BACK LATER</div>';
@DevinVinson
DevinVinson / om-inline-prioritizer.php
Created May 16, 2019 17:09
OM Inline Prioritizer
<?php
/**
* Plugin Name: OM Inline Prioritizer
* Version: 1.0
* Description: Simple change to the OptinMonster default priority for inline optins.
* Author: Devin Vinson
* Author URI: http://optinmonster.com
* Text Domain: om-inline-prioritizer
* Domain Path: /languages
* @package om-inline-prioritizer
// REPLACE THIS WITH THE CAMPAIGN'S ID
var campaignId = 'XXXXX';
// DO NOT EDIT BELOW THIS LINE
document.addEventListener('tp.Main.EventListener.Ready', function () {
var event = new CustomEvent('tp.Custom.Submit', {
bubbles : true,
cancelable : true,
detail : {
widgetId: campaignId,
fields: []