render() static public method

Render a shortcode according to the attributes passed with it
static public render ( boolean $attr ) : boolean | string
$attr boolean
return boolean | string
function rtmedia_gallery($attr = '')
{
    echo RTMediaGalleryShortcode::render($attr);
}
示例#2
0
/**
 * Rendering RTMedia Gallery
 *
 * @param       array|string    $attr
 */
function rtmedia_gallery($attr = '')
{
    echo RTMediaGalleryShortcode::render($attr);
    // @codingStandardsIgnoreLine
}