wpDiscuz - WordPress Comment Plugin
Add new field from ...
 
Share:
Notifications
Clear all

Add new field from wordpress functions.php

2 Posts
2 Users
0 Likes
692 Views
Posts: 7
Topic starter
(@laucha92)
Active Member
Joined: 3 years ago

Hi,

I was able to add a new field from wordpress scripts (editing the functions.php file).

If I disable wpdiscuz plugin I can see the 3 original fields from wordpress (name, email and website) plus the one I have created (City-Ciudad)

Comment form

My problem is that wpdiscuz thas not detect this new field that I have created. When I enable the plugin it only shows the 3 original. Creating a new field from wpdiscuz settings does not work for me because I need to send that information outside wordpress.
Is there a way to add this new field?

Β 

Thanks,

Gabriel

Β 

1 Reply
Asti
Posts: 5779
 Asti
Support
(@asti)
Illustrious Member
Joined: 5 years ago

Hi @laucha92,

You can create those fields via the wpDiscuz plugin tools, then use the wpdiscuz_before_save_commentmeta hook and send information outside WordPress.

Reply
Share: