Skip to content

Instantly share code, notes, and snippets.

wpmudev-sls

Block or report user

Report or block wpmudev-sls

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wpmudev-sls
wpmudev-sls / hustle-fix-quform.js
Created Jun 8, 2018
Hustle Exit Intent conflict Fix with QuForm
View hustle-fix-quform.js
// window.Quform.prototype.setupInsideLabels = function(){}
(function ($) {
$.InFieldLabels = function (label, field, options) {
// To avoid scope issues, use 'base' instead of 'this'
// to reference this class from internal events and functions.
var base = this;
// Access to jQuery and DOM versions of each element
@theRealRizeo
theRealRizeo / delete-expired-members-and-users.php
Last active Sep 14, 2017
Cron to delete expired members and users
View delete-expired-members-and-users.php
<?php
/**
* Membership 2 plugin script to run in the background to delete expired members
*
*/
if ( ! wp_next_scheduled( 'my_membership_delete_expired_members' ) ) {
wp_schedule_event( time(), 'daily', 'my_membership_delete_expired_members' );
}
@UmeshSingla
UmeshSingla / smush-bulk-restore.php
Created Mar 10, 2017
Adds a Box after settings, that allows you to restore your images from an existing backup created by Smush using Ajax
View smush-bulk-restore.php
<?php
if ( ! class_exists( 'WpSmushRestore' ) ) {
class WpSmushRestore {
/**
* Constructor
*/
function __construct() {
You can’t perform that action at this time.