WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
- €Eruo support? (4 posts)

  1. noslan
    Member
    Posted 2 years ago #

    So, is there any way to ad €uro support in paypal mrhtod?

    Thanks

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. gouffy41
    Member
    Posted 1 year ago #

    Hi,

    Same question here.

    Thanks

  3. tibitabo
    Member
    Posted 1 year ago #

    You can add the following code at the end of plugin-settings and then choose EURO from the UI.

    /**
     * Adds new currency to admin options
     * @param array $fields admin options
     */
    function wpufe_currency_filter( $fields ) {
        foreach( $fields as $key => $val ) {
            if( $val['name'] == 'wpuf_sub_currency' ) {
                $fields[$key]['options']['EUR'] = 'EURO';
            }
        }
        return $fields;
    }
    add_filter( 'wpuf_build_form_args', 'wpufe_currency_filter' );
  4. Tareq Hasan
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks @tibitabo, nice find ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic