Select Page

Type of information that is represented in a language and can be selected in widgets or shortcodes.

Parameters

  1. currency_text – array with types.  The array contains these value as key values:
    • text – currency name from WooCommerce;
    • flag – country flag where currency uses;
    • symbol – currency symbol from WooCommerce;
    • image – currency image from plugin settings;
    • space – whitespace character.

Usage

<?php
function change_br_currency_widget_type_of_text ( $currency_text ) {
//your code here
    return $currency_text;
}

add_filter( 'br_currency_widget_type_of_text', 'change_br_currency_widget_type_of_text' );
?>