Text_Diff_Renderer::getParams

Advertisement

Summery Summery

Get any renderer parameters.

Syntax Syntax

Text_Diff_Renderer::getParams()

Return Return

(array) All parameters of this renderer object.

Source Source

File: wp-includes/Text/Diff/Renderer.php

    function getParams()
    {
        $params = array();
        foreach (get_object_vars($this) as $k => $v) {
            if ($k[0] == '_') {
                $params[substr($k, 1)] = $v;
            }
        }

        return $params;
    }

Advertisement

Advertisement

Leave a Reply