wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

Add new field from wordpress functions.php


laucha92
Posts: 7
Topic starter
(@laucha92)
Active Member
Joined: 1 year 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: 3901
 Asti
Support
(@asti)
Support member
Joined: 4 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: