Prevent Duplicate Purchases
Prevents logged-in customers from purchasing an item twice.
MemberPress: Display User's Course Progress in MemberPress Courses
The code snippet registers a new shortcode: [mpcs_user_courses_progress]. Adding this shortcode will display all MemberPress courses…
google tag
google code
MemberPress: Adding Credit Card and Expiry Information to Subscriptions Table
This snippet adds a new column to the table under the Subscriptions tab on the Account…
expose acf
function expose_acf_to_rest() { register_rest_field('game_state', 'acf', [ 'get_callback' => function($post_arr) { return get_fields($post_arr['id']); }, 'update_callback' => null,…
Display Width in Pixel - Elementor
This displays Width of the Current Editor View in Pixels, when Editing in Elementor. Copied from..…
Book Review
Used to list book review recommendations
Google adsense
To connect to Google AdSense
Disable Donations After Goal Is Reached
Disables donations to campaigns after they have reached their goal.
WPForms: new smart tag - Current Date/Time
It's a localized date/time in this format: Y-m-d H:i:s
Add extra shipping providers for vendor tracking numbers
$shipping_providers = array( 'Australia' => array( 'Australia Post' => 'https://auspost.com.au/mypost/track/#/details/%1$s', 'FedEx' => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=%1$s&cntry_code=au', 'Fastway Couriers' =>…
WP Simple Pay: Conditionally Dequeue Scripts & Styles
Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…
Mail Chimp
MailChimp integrations