Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    There is no way to use html code in plugin settings.
    You can try to use hook brfr_get_option_product_preview to change plugin options, it filter array with plugin options.
    Option for button text is $options['text_settings']['button_text']

    Regards,
    Oleg

    Thread Starter shenalorlof

    (@shenalorlof)

    Hello dear supporter,

    I’m sorry can u give me an example of using this filter and the option together to do this process. I appreciate very much supporter

    Regards

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Code that can change text

    add_filter('brfr_get_option_product_preview', 'custom_brfr_get_option_product_preview');
    function custom_brfr_get_option_product_preview($options) {
        $options['text_settings']['button_text'] = 'NEEDED TEXT';
        return $options;
    }

    Regards,
    Oleg

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replace Text with icon’ is closed to new replies.