# friends/2.7.9/templates/frontend/reactions-picker.php

Friends, version 2.7.9. 14 lines.

- Page: https://pluginprobe.com/plugins/friends/2.7.9/code/templates/frontend/reactions-picker.php
- Raw: https://pluginprobe.com/plugins/friends/2.7.9/raw/templates/frontend/reactions-picker.php
- Modified: 2022-04-09T05:27:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/friends/2.7.9/code/templates/frontend/reactions-picker.php#L10-L20`.

```php
<?php
/**
 * This contains the frontend reactions picker.
 *
 * @package Friends
 */

?>
<div class="friends-reaction-picker menu" data-nonce="<?php echo esc_attr( wp_create_nonce( 'friends-reaction' ) ); ?>" data-id="<?php echo esc_attr( get_the_ID() ); ?>">
	<?php foreach ( Friends\Reactions::get_available_emojis() as $id => $data ) : ?>
		<button class="btn btn-link" data-emoji="<?php echo esc_attr( $id ); ?>" title="<?php echo esc_attr( $data->name ); ?>"><?php echo esc_html( $data->char ); ?></button>
	<?php endforeach; ?>
</div>

```
