Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@webdados
Created December 14, 2020 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webdados/18952481449022275169f59ec5abb2b0 to your computer and use it in GitHub Desktop.
Save webdados/18952481449022275169f59ec5abb2b0 to your computer and use it in GitHub Desktop.
Limit the reference range on the "Payment Multicaixa (ProxyPay gateway) for WooCommerce" WordPress plugin by webdados.pt
<?php
add_filter( 'multicaixa_create_ref_min', function( $value ) {
return 0;
} );
add_filter( 'multicaixa_create_ref_max', function( $value ) {
return 333333333;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment