Title: Move Logout Button
Last modified: January 11, 2018

---

# Move Logout Button

 *  [techwizardsupport](https://wordpress.org/support/users/techwizardsupport/)
 * (@techwizardsupport)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/move-logout-button/)
 * Really useful plugin, thank you for taking the time to create it!
 * I understand that you can move the button manually using the shortcode/php, but
   can i move the default hook for this by using the remove_action, add_action functions?
 * I tried the following, but it doesn’t appear to work:
 *     ```
       remove_action( 'the_content', 'pplb_logout_button');
       add_action( 'genesis_after_header', 'pplb_logout_button');
       ```
   
    -  This topic was modified 8 years, 5 months ago by [techwizardsupport](https://wordpress.org/support/users/techwizardsupport/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nate Reist](https://wordpress.org/support/users/natereist/)
 * (@natereist)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/move-logout-button/#post-9869702)
 * [@techwizardsupport](https://wordpress.org/support/users/techwizardsupport/) 
   I think instead you would need to use `remove_filter`, not `remove_action`, to
   remove it from the content. Then you may want to set up a function that calls
   that function `pplb_logout_button`, so you can wrap it in HTML to make it display
   nicely.

Viewing 1 replies (of 1 total)

The topic ‘Move Logout Button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/protected-posts-logout-button.svg)
 * [Protected Posts Logout Button](https://wordpress.org/plugins/protected-posts-logout-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/protected-posts-logout-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/protected-posts-logout-button/)
 * [Active Topics](https://wordpress.org/support/plugin/protected-posts-logout-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/protected-posts-logout-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/protected-posts-logout-button/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nate Reist](https://wordpress.org/support/users/natereist/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/move-logout-button/#post-9869702)
 * Status: not resolved