Description

Filters the inclusion of emoji icons in notification emails.

Parameters

$enable_emojis
(bool) (Required) Determines whether emoji icons for the Rating field will be displayed in notification emails, default is true (will display).

Source

pro/includes/fields/class-rating.php

More Information

The wpforms_rating_field_emoji filter is applied to form notification emails when a Rating field is included.

Examples

/**
 * Filters the inclusion of emoji icons in notification emails.
 *
 * @link   https://wpforms.com/developers/wpforms_rating_field_emoji/
 *
 * @param  $enable_emojis
 * @return bool
 */
function wpf_dev_rating_field_emoji( $enable_emojis ) {

	$enable_emojis = true;
	
	return $enable_emojis;
}

add_filter( 'wpforms_rating_field_emoji', 'wpf_dev_rating_field_emoji', 10, 1 );