Remove Last Name at Checkout
Removes the Last Name field from the checkout page. Note: This worked with checkout shortcode only
increase max file size
a snippet to increase max file size to allow WP staging pro upload
CCT ID display as name
function gt_id_label_map() { return array( // CCT slug => [ field => target ] 'cct' =>…
Event Data | Display Eventbrite Events
Please note that this guide is intended for advanced users and developers. Our plugin already offers…
Change Admin Panel Footer Text
Display custom text in the admin panel footer with this snippet.
Note Orders
add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…
Media Library Infinite Scrolling
Infinite Scroll
Display the stock availability for all product types in WooCommerce archive pages
Learn how to add Availability label ? in your WooCommerce website. This will help to notify…
MemberPress: ACF - Exclude Protected Posts From ACF Repeater Field
The code snippet ensures that protected MemberPress posts are excluded from custom queries used in Advanced…
Limit user posts
A settings page to set the number of posts all users can create
Custom Countries
Illustrates how to add a custom list of countries This list will be used anywhere EDD…
Google Tag Manager - Head
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX'+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXXXXXX');