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…

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

<10

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');

Add Security Info to Checkout

Replace the image on checkout with the proper image for your SSL certificate.

1 … 63 64 65 66 67 … 242