Title: Your New Feature
Last modified: October 5, 2017

---

# Your New Feature

 *  Resolved [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/your-new-feature/)
 * Hi Asgaros
 * I’ve only just noticed the
 * Forum – My Profile – Logout and envelope symbol
 * on the upper bar above the forum. The profile gives details of the user and the
   envelope gives a list of the users posts. It works really well and is a great
   improvement. I just wonder when you sneaked it in or did I miss it completely.
 * However, the logout feature takes the user to the WordPress Backend. Can I disable
   this and if so what is the code.
 * Thanks
 * Regards
 * Phil

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

 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/your-new-feature/#post-9609271)
 * Hello [@supernova42](https://wordpress.org/support/users/supernova42/)
 * This feature came with the v1.6 release. I will try to improve and extend it 
   in upcoming versions.
 * > However, the logout feature takes the user to the WordPress Backend.
 * Normally the logout-link should bring the user back to the current page after
   the logout is done. Thats why I use the redirect-argument in the function-call:
 * `wp_logout_url($this->getLink('current', false, false, '', false))`
 * On my test-installations everything is working fine. Maybe some other plugins
   are doing some changes to the logout_url filters. But if you want, you can also
   overwrite them by your own. You can check out this link for examples:
 * [https://codex.wordpress.org/Plugin_API/Filter_Reference/logout_url](https://codex.wordpress.org/Plugin_API/Filter_Reference/logout_url)
 *  Thread Starter [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/your-new-feature/#post-9609585)
 * Hi Asgaros
    Yes the Logout Feature does bring me back to my current page. However
   the Logout function is then replaced with the Login function and the Register
   function, which both takes the user to the backend. I’m sure that developers 
   would not wish the user to visit the backend. I go to some lengths to keep users
   out of the backend. It’s just a shame that this new facility in the forum takes
   the user to the backend. Is there any way I can disable the Login, Logout and
   Register functions whilst retaining the other functions in your new facility.
 * By the way, the new facility is a great improvement.
 * Thanks
 * Regards
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/your-new-feature/#post-9610549)
 * Hello [@supernova42](https://wordpress.org/support/users/supernova42/)
 * I added new options to the development-version (will be included in the upcoming
   v1.6.2 release) which allows you to hide the login/logout/register buttons:
    
   [https://github.com/Asgaros/asgaros-forum/commit/9fabee302c9224e05581f7b1dd0fe6f3a2f446a5](https://github.com/Asgaros/asgaros-forum/commit/9fabee302c9224e05581f7b1dd0fe6f3a2f446a5)

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

The topic ‘Your New Feature’ is closed to new replies.

 * ![](https://ps.w.org/asgaros-forum/assets/icon-128x128.png?rev=1546717)
 * [Asgaros Forum](https://wordpress.org/plugins/asgaros-forum/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/asgaros-forum/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/asgaros-forum/)
 * [Active Topics](https://wordpress.org/support/plugin/asgaros-forum/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/asgaros-forum/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/asgaros-forum/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Asgaros](https://wordpress.org/support/users/asgaros/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/your-new-feature/#post-9610549)
 * Status: resolved