WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
Adding kenyan shillings (2 posts)

  1. tukutane
    Member
    Posted 1 year ago #

    I need to add Kenyan shillings to the list of currencies, how can I do this without breaking the plugin?

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

  2. Slocum Themes
    Member
    Plugin Author

    Posted 1 year ago #

    Hi tukutane,

    There's a filter located here called pmpro_currencies that will allow you to add the Kenyan shillings to the list of currencies in PMPro: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/currencies.php#L39. You can see the code above this filter to see how the list of default currencies are added. You may want to set the Kenyan shilling symbol (if any) as the array key when hooking into that filter.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags