'wp-members', 'description' => __( 'Displays the WP-Members sidebar login.', 'wp-members' ), ) ); } /** * Displays the WP-Members login widget settings * controls on the widget panel. * * @param array $instance */ function form( $instance ) { /* Default widget settings. */ $defaults = array( 'title' => __('Login Status', 'wp-members'), 'redirect_to' => '', ); $instance = wp_parse_args( ( array ) $instance, $defaults ); /* Title input */ ?>

'; /** * Filter the widget title. * * @since ?.? * * @param string $title The widget title. */ echo $args['before_title'] . apply_filters( 'wpmem_widget_title', $title ) . $args['after_title']; // The Widget if ( function_exists( 'wpmem_do_sidebar' ) ) { wpmem_do_sidebar( $redirect_to ); } echo ''; echo $args['after_widget']; } }