Controls whether or not to show the “Apply Discount Code” field at checkout. By default, this field is only shown when there is a discount code which applies to this level.
apply_filters( "pmpro_show_discount_code", bool $pmpro_show_discount_code ); |
Parameters
- $pmpro_show_discount_code
- bool
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/preheaders/checkout.php
View in Source CodeRelated Articles and Recipes
Hide the Discount Code Fields By Jason Coleman