'userswp', 'block-icon' => 'admin-site', 'block-category'=> 'widgets', 'block-keywords'=> "['userswp','profile']", 'class_name' => __CLASS__, 'base_id' => 'uwp_profile', 'name' => __('UWP > Profile','userswp'), 'no_wrap' => true, 'widget_ops' => array( 'classname' => 'uwp-profile-class bsui', 'description' => esc_html__('Displays user profile.','userswp'), ), 'arguments' => array( 'title' => array( 'title' => __( 'Widget title', 'userswp' ), 'desc' => __( 'Enter widget title.', 'userswp' ), 'type' => 'text', 'desc_tip' => true, 'default' => '', 'advanced' => false ), 'disable_greedy' => array( 'title' => __('Disable Greedy Menu', 'userswp'), 'desc' => __('Greedy menu prevents a large menu falling onto another line by adding a dropdown select.', 'userswp'), 'type' => 'checkbox', 'desc_tip' => true, 'value' => '1', 'default' => '', 'advanced' => true, ), ) ); parent::__construct( $options ); } public function output( $args = array(), $widget_args = array(), $content = '' ) { ob_start(); echo '
'; return ob_get_clean(); } }