• Hello,

    Your current version currency settings are not working as they are supposed to. The filter is never applied before populating the currency select drop down. I had to do:

    global $pmpro_currencies;
    $pmpro_currencies = apply_filters("pmpro_currencies", $pmpro_currencies);

    before the dropdown in the settings. Can there be a function called get_currencies or comething that applies the filter. Global variables cannot be modified again

    https://wordpress.org/plugins/paid-memberships-pro/

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    I like the idea of a function to return the data. (Have been using that method for similar things lately.) Another fix would be to include the currencies/etc earlier during load. I might do that as a quick fix in the mean time. This should be included in the v1.8.8 fix going out later tonight. Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Custom Currency Filter’ is closed to new replies.