public/wordpress/wp-content/plugins/front-end-only-users/Functions/EWD_FEUP_Widgets.php
/**
	 * Outputs the content of the widget
	 *
	 * @param array $args
	 * @param array $instance
	 */
Outputs the content of the widget
@param array $args
@param array $instance
Outputs the content of the widget @param array $args @param array $instance
public function widget( $args, $instance ) {
		echo $args['before_widget'];
		if ($instance['title'] != "") {
			echo "<div class='ewd-feup-widget-title'>" . $instance['title'] . "</div>";
		}
		echo do_shortcode("[login-logout-toggle login_redirect_page='". $instance['login_redirect_page'] . "' logout_redirect_page='" . $instance['logout_redirect_page'] . "']");
		echo $args['after_widget'];
	}
public function widget ( $ args , $ instance ) { echo $ args [ 'before_widget' ] ; if ( $ instance [ 'title' ] != " " ) { echo " <div class='ewd-feup-widget-title'> " . $ instance [ 'title' ] . " </div> " ; } echo do_shortcode ( " [login-logout-toggle login_redirect_page=' " . $ instance [ 'login_redirect_page' ] . " ' logout_redirect_page=' " . $ instance [ 'logout_redirect_page' ] . " '] " ) ; echo $ args [ 'after_widget' ] ; }
Outputs the content of the widget
 @param array $args
 @param array $instance
Outputs the content of the widget @param array $args @param array $instance