Added functionality to auto fill logged in user's name and email for the email form.
Description
Get the user details and if the user passes the logged in check the name and email fields will be rendred as hidden and the values for those fields will be automatically populated.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (modification of the currently available functionality)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project (WordPress coding standards, etc).
[x] My code has appropriate phpdoc comments with a description, @since, @params and @return.
[ ] My code is tested for both new installs and for users that are upgrading from older versions.
Added functionality to auto fill logged in user's name and email for the email form.
Description
Get the user details and if the user passes the logged in check the name and email fields will be rendred as hidden and the values for those fields will be automatically populated.
Types of changes
Checklist:
@since
,@params
and@return
.