Support » Plugin: Protected Posts Logout Button » Move Logout Button

  • techwizardsupport

    (@techwizardsupport)


    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');
Viewing 1 replies (of 1 total)
  • Plugin Author Nate Reist

    (@natereist)

    @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.