This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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' ); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! class_exists( 'WpSmushRestore' ) ) { | |
class WpSmushRestore { | |
/** | |
* Constructor | |
*/ | |
function __construct() { |