MemberPress: Generate All Invoices
function generate_bulk_invoices() { if( isset( $_REQUEST[ 'generate-invoices' ] ) ) { global $wpdb; $query = "SELECT…
om.Html.append.before
document.addEventListener('om.Html.append.before', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Optin.init
document.addEventListener('om.Optin.init', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
snow
snip
Slide Reposition Bottom Center v2
html div#om-{{id}} { width: 350px !important; left: calc(350px / 2) !important; right: calc(350px / 2) !important;…
Show and Save Custom Taxonomy On the Vendor Product Edit Form
This code snippet is for displaying and saving the custom product taxonomy (e.g., "product_brand" or "sizes")…
om-wp-plugin-load-in-head.php
// returning false will change the default location from footer to the head add_filter( 'optin_monster_api_loading_location', '__return_false'…
Convert headings to sentence case
If you like your headings in sentence case this works. No changes WP Database: if snippet…
Disable & Remove Login with GD button
Remove Login with GD
Studex CM Main Menu
function homelink(){ $homelink = 'Home'; return $homelink;} function shoplink() { return 'Shop';} function discoverlink() { $discoverlink…
Adds a username field to WC Vendors Signup and uses it when creating the user.
This feature adds a Username field to the WC Vendors signup form, allowing vendors to choose…