Support » Plugin: WP User Frontend » [Plugin: WP User Frontend] – €Eruo support?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Same question here.

    Thanks

    tibitabo

    (@tibitabo)

    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' );
    Plugin Author Tareq Hasan

    (@tareq1988)

    Thanks @tibitabo, nice find 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP User Frontend] – €Eruo support?’ is closed to new replies.