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
コード例 #1
0
function rtmedia_gallery($attr = '')
{
    echo RTMediaGalleryShortcode::render($attr);
}
コード例 #2
0
ファイル: rtmedia-functions.php プロジェクト: rtCamp/rtMedia
/**
 * Rendering RTMedia Gallery
 *
 * @param       array|string    $attr
 */
function rtmedia_gallery($attr = '')
{
    echo RTMediaGalleryShortcode::render($attr);
    // @codingStandardsIgnoreLine
}