Forked from renventura/remove-logout-link-wp-comment-form.php
Created
October 7, 2016 21:28
-
-
Save lukecav/dc6829d87ba62d1879d9b360d9450d63 to your computer and use it in GitHub Desktop.
Remove the "Logged in as {username}. Log Out?" link from the WordPress comment form.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //* Mind this opening PHP tag | |
// Remove the logout link in comment form | |
add_filter( 'comment_form_logged_in', '__return_empty_string' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment