Stop Lazy Load
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
Add Subscriber to Segment with Duration
Adds the subscriber to the segment for a specific duration, after the defined number of days…
Action Scheduler Cleardown | Display Eventbrite Events
Eventbrite uses Action Scheduler to handle background tasks when background processing is enabled. By default, Action…
Post-States
add_filter( 'display_post_states', 'bu_style_post_state_bricks', 15, 2 ); function bu_style_post_state_bricks ($post_states, $post) { if( isset( $post_states['bricks'] ) )…
Custom Plugin for WPForms
WPForms custom template generator.
AJAX Grid Search (multiple grids)
Add ID of #gridSearch to the search form. Give your multiple grid container a class of…
WhatsApp Button to WooCommerce Single Product Pages
Display a WhatsApp button on WooCommerce single product pages. You can customize color and shape of…
Disable Plugin & Theme Editor
Prevent users from using the Plugin & Theme file editor.
Defining Postmark Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
MemberPress: Set Custom Product Pages
Use this snippet if the membership shortcode is used on a custom page (the page that…
MemberPress: Replace Font-Family for PDF Invoice
To replace the font-family used for PDF invoices, font files need to be uploaded to a…
Disable WordPress Admin Bar for all users
Disable WordPress Admin Bar for all users
MemberPress: Auto-populate coupon on all registration forms
Use this code to automatically apply a specified coupon code to all of the website's MemberPress…
om-vue.js
// Using Vue Router. import Vue from 'vue'; import Router from 'vue-router'; Vue.use(Router); const router =…