Didn't find anything? Ask your questions in the forum.
Documentation Filters helpful_feedback_submit_fields


Help: If you do not know how to execute or save your own PHP code, you can find help here: How to execute PHP code on your WordPress website

With this you can intervene in the sent fields via the feedback form. You can also add your own fields, which will then be saved in the database.

$fields: name, email
$session: Everything that is actually stored in a session can be found in this optional variable.

 * This can be used to edit sent fields.
 * @param array $fields submitted fields.
 * @param array $session submitted session data.
 * @return array
function custom_function( $fields, $session ) {
	return $fields;

add_filter( 'helpful_feedback_submit_fields', 'custom_function', 10, 2 );

Source code:


Was this post helpful?