Added pmpro_state_dropdowns filter. If you return true, the state field will become a dropdown with US states. Use the pmpro_states and pmpro_states_abbreviations filters to change the array of states used.


apply_filters("pmpro_states_abbreviations", $pmpro_states_abbreviations);

Parameters

$pmpro_states_abbreviations

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/states.php

View in Source Code