I need to create a wordpress plugin to connect wordpress to a central login. But all I want is the user to be able to post comments with name and email filled. I don’t think I need create a real loggin into wordpress because the user should not be able to write posts or do admin stuff. I want him only to post comments.
I search the documentation but could not find any action for comments.
How can I change the html of a comment form?
Maybe not good but it works…
Fill comment author and email from central login stored in session:
Edit comments.php from the template. Look for:
Set both fields
disabled="true"and replace the values with the author and email from the session.