Add Custom Taxonomy to Woocommerce Single Product Page
add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…
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'] ) )…
Change TikTok purchase Event
When using the WPCode Conversion Pixels addon the event name used when a purchase is completed…
See the Scheduled Actions option in the WordPress admin sidebar
This snippet gives you the ability to add the Scheduled Actions menu item to the WordPress…
Enable WP Mail SMTP Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
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 =…
om-webhook-response.json
{ "om_response_data":{ "redirect":"https://optinmonster.com" } }