• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Plugins » WP-Members » Documentation » Filter Hooks » wpmem_sidebar_status

wpmem_sidebar_status

Description

This filter is deprecated as of plugin version 3.4.0; use wpmem_login_widget_status instead.

Filter hook to filter the user’s sidebar status when logged in.

The generated sidebar status is passed to the filter.  You can used this, edit it, or add to it ahead and/or behind.

Usage

add_filter( 'wpmem_sidebar_status', 'my_sidebar_status' );

function my_sidebar_status( $string ) 
{
	/*
	$string comes in as an html string of:
	<p>You are logged in as {username}<br />
	<a href="http://yoursite.com/?a=logout">
	click here to logout</a></p>

	You can do something here to filter that,
	change it, or append to it.
	*/

	return $string;
}

Code Snippet Library [Subscriber Content]

  • Customizing form fields in WP-Members 3.1.7
  • Customized sidebar widget
  • Sidebar status highlight username
  • Sidebar status filter advanced demo
  • Sidebar login status
  • Sidebar login filter advanced example
  • Add an avatar to the sidebar login
See a list of all filter and action hooks

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy