[ __CLASS__, 'render' ] ]); } /** * Render the widget inside a block wrapper. * * @param array $attributes Block attributes * * @return string * @access public * @static * @version 8.0.2 */ public static function render($attributes) { if (!defined('AAM_KEY')) { return ''; } $widget = new AAM_Backend_Widget_Login(); $widget->_set(wp_unique_id('aam-block-')); ob_start(); $widget->widget([ 'before_widget' => '