-
editorg
Hi all.
I am having a real hard time trying to delete this.Logged in as Gazz. Edit your profile. Log out? Required fields are marked
It shows in comments
Please help -
Hi there,
thats you’re user details that will only show when you’re logged into the site.
Are you wanting to disable the option from commentators to edit their profiles ? -
editorg
Yes, I want to disable all of it.
-
To cover, the
logged_in_as
element is part of the core WordPress Comments Form.
Here is thelogged_in_as
argument in their code for reference:and it is included as a default argument of the
comment_form_defaults
.To remove that, you can use the following PHP Snippet:
function remove_logged_in_as( $defaults ) { // Remove the "logged_in_as" message $defaults['logged_in_as'] = ''; return $defaults; } add_filter( 'comment_form_defaults', 'remove_logged_in_as' );
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.