Skip to content

Instantly share code, notes, and snippets.

View MaximilianoRicoTabo's full-sized avatar

Maximiliano Rico MaximilianoRicoTabo

  • -
  • Montevideo - La Paloma
  • 05:05 (UTC -03:00)
View GitHub Profile
<?php
/**
*
* Custom function to add a late fee to the checkout page in Paid Memberships Pro
*
* link: TBD
*
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
* Read this companion article for step-by-step directions on either method.
@MaximilianoRicoTabo
MaximilianoRicoTabo / show-billing-fields-on-user-admin.php
Last active February 21, 2024 20:53
show billing fields from last order in the admin user profile
<?php
/**
* Sync billing fields from last order to match recipe from this article below
* https://www.paidmembershipspro.com/display-the-members-billing-address-fields-on-the-edit-user-page-for-admin-only/
*
* link: TBD
*
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
@MaximilianoRicoTabo
MaximilianoRicoTabo / apply-discount-code-to-child-levels.php
Last active February 19, 2024 13:59
Apply a discount code to child level at the moment of checkout
<?php
/**
* Apply a discount code to child level at the moment of checkout
*
* link: TBD
*
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
* Read this companion article for step-by-step directions on either method.
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
@MaximilianoRicoTabo
MaximilianoRicoTabo / add-custom-multi-currency-level-cost-text-colum-to-memberlist.php
Last active January 31, 2024 19:35
Remove default level cost text and replace with a custom one in order to format price based on level.
<?php
/**
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
*/
/**
* Remove fee column and add a custom one to the Members List to show the multi currency level cost.
*
@MaximilianoRicoTabo
MaximilianoRicoTabo / custom-checkout.php
Last active January 22, 2024 15:59
Let other forms submit in checkout page.
<?php
/**
* Let Core checkout page have another forms and submit them.
*
*
*
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
* Read this companion article for step-by-step directions on either method.
@MaximilianoRicoTabo
MaximilianoRicoTabo / disable-MMPU.php
Created January 17, 2024 19:39
Let Core send emails instead of doing through MMPU.
<?php
/**
* Let Core send emails instead of doing through MMPU.
*
* link: TBD
*
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
* Read this companion article for step-by-step directions on either method.
@MaximilianoRicoTabo
MaximilianoRicoTabo / add-custom-user-field-to-track.php
Created January 10, 2024 21:03
Capture User Fields as User Properties For Reporting in Google Analytics Integration Add On
<?php
/**
* Capture User Fields as User Properties For Reporting in Google Analytics Integration Add On
* title: Capture User Fields as User Properties For Reporting in Google Analytics Integration Add On
* layout: snippet
* collection: add-ons, pmpro-google-analytics
* category: users, custom user fields
* link: TBD
*
* You can add this recipe to your site by creating a custom plugin
@MaximilianoRicoTabo
MaximilianoRicoTabo / exclude-users-based-on-roles.php
Last active January 11, 2024 15:25
Exclude Users With Editor or Author Role From Tracking in the Google Analytics Integration Add On
<?php
/**
* Exclude Users With Editor or Author Role From Tracking from the Google Analytics Integration tracking
* title: Capture Unique Post Data as Custom Dimensions Using the Google Analytics Integration Add On
* layout: snippet
* collection: add-ons, pmpro-google-analytics
* category: users
* link: TBD
*
* You can add this recipe to your site by creating a custom plugin
@MaximilianoRicoTabo
MaximilianoRicoTabo / capture-unique-post-as-custom-dimensions-ga.php
Last active January 11, 2024 15:02
Capture Unique Post Data as Custom Dimensions Using the Google Analytics Integration Add On
<?php
/**
* Capture Unique Post Data as Custom Dimensions Using the Google Analytics Integration Add On
*
* title: Capture Unique Post Data as Custom Dimensions Using the Google Analytics Integration Add On
* layout: snippet
* collection: add-ons, pmpro-google-analytics
* category: dimensions
* link: TBD
*
@MaximilianoRicoTabo
MaximilianoRicoTabo / remove-element-from-default-dimensions-array.php
Last active January 11, 2024 13:40
Remove element from the default dimensions array in pmpro-google-analytics
<?php
/**
* Remove element from the default dimensions array in pmpro-google-analytics
*
* title: Remove an element from the default dimensions array in pmpro-google-analytics
* layout: snippet
* collection: add-ons, pmpro-google-analytics
* category: dimensions
* link: TBD
*