Title: [Plugin: WP-Members} Sidebar Login Widget changes
Last modified: August 20, 2016

---

# [Plugin: WP-Members} Sidebar Login Widget changes

 *  Resolved [Mr Tibbs](https://wordpress.org/support/users/mtibesar/)
 * (@mtibesar)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-members-sidebar-login-widget-changes/)
 * The WP-Members sidebar login widget is a bit dated and verbose.
 * I would like to change the verbage “click here to logout” to just “Logout”.
 * How would I accomplish this without changing the core files please?
 * Thank you very much.
 * [http://wordpress.org/extend/plugins/wp-members/](http://wordpress.org/extend/plugins/wp-members/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-members-sidebar-login-widget-changes/#post-2737507)
 * wpmem_sidebar_status is the filter for the user’s login status – you could use
   that and php’s str_replace function.
 *  Thread Starter [Mr Tibbs](https://wordpress.org/support/users/mtibesar/)
 * (@mtibesar)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-members-sidebar-login-widget-changes/#post-2737537)
 * I really am not a php programmer. So I am not fully understanding functions and
   filters.
 * What is the php code that I would insert into my child theme’s functions.php 
   file in order to change the verbage from “click here to logout” to just “logout”
   please?
 * Thank you!
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-members-sidebar-login-widget-changes/#post-2737550)
 * If you want to be able to effectively work with WordPress, you probably should
   invest some time into learning php so you can use WordPress’ action and filter
   hooks.
 * This filter is the exact same concept as the one you used over here: [http://wordpress.org/support/topic/plugin-wp-members-customize-submit-button?replies=8#post-2807342](http://wordpress.org/support/topic/plugin-wp-members-customize-submit-button?replies=8#post-2807342)
   Same concept – different filter. In both of these I even added specific comments
   to explain to you what the filter is doing so you can expand on this on your 
   own:
 *     ```
       add_filter( 'wpmem_sidebar_status', 'my_sidebar_status_filter' );
       function my_sidebar_status_filter( $string ) {
   
       	// the html of the form is the parameter $string
   
       	// use str_replace like:
       	// $new_string = str_replace( $needle, $replacement, $haystack );
   
       	$string  = str_replace( 'click here to logout', 'logout', $string );
   
       	return $string;
   
       }
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WP-Members} Sidebar Login Widget changes’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-members-sidebar-login-widget-changes/#post-2737550)
 * Status: resolved