Untitled Snippet
0 0
Untitled Snippet
Content-Type HTTP response header, element within the first 1024 bytes of your HTML document.
MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
Remove "No Reviews" label if there are not reviews in Tasty Recipes
Remove "No Reviews" label if there are not reviews in Tasty Recipes
Woo Products Limit For Admin
Prevent Admin from Adding More Than 10 Products
MemberPress: Disable MemberPress Protection Based on Custom Post Type And Tag
This code snippet disables content protection for specific post types that are also tagged with a…
Retrieve Card Details from Stripe Checkout One-Time Payments
This snippet ensures that the last four digits and card brand are available in payment confirmations…
MemebrPress: Send Membership-Specific Welcome Email Only When Transaction Is Completed
The code snippet will allow the membership-specific welcome email to be triggered only following the successful…
Remove field checkout WooCommerce
Remove field checkout WooCommerce
om.Campaign.init
document.addEventListener('om.Campaign.init', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Countdown.init
document.addEventListener('om.Countdown.init', function(event) { console.log(event.detail.Countdown); console.log(event.detail.Campaign); } );
om.Analytics.track example 1
document.addEventListener('om.Analytics.track', function(event) { if ( 'conversion' === event.detail.Analytics.type ) { console.log(event.detail.Campaign.id + '-' + event.detail.Campaign.type +…
Page Element Shortcodes
add_shortcode('page_title', function () { global $wp_query; if( isset( $wp_query ) && (bool) $wp_query->is_posts_page ) { return…