Documentation

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

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.

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

add_filter( 'helpful_feedback_submit_fields', 'custom_function' );

Was this post helpful?