MortgageNews_Embedded::plain_text_html( string $option )

Get html text by type.


Parameters Parameters

$option

(string) (Required) Type of plaintext


Top ↑

Return Return

(string) plain text embedded


Top ↑

Source Source

File: mortgage-news-widget/inc/MortgageNews_Embedded.php

    protected function plain_text_html($option){
        $data = $this->get_scroller_data();

        if ('plaintext' === $option) {
            return $this->plain_text($data, 'plaintext');
        } else {
            return $this->plain_text($data);
        }
    }

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.