PluginProbe
Friends / 4.3.0
Friends v4.3.0
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / admin / add-reaction-li.php

add-reaction-li.php in Friends 4.3.0, at templates/admin/add-reaction-li.php

28 lines 653 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This template contains the friend editor.
4 *
5 * @version 1.0
6 * @package Friends
7 */
8
9 if ( isset( $args['template'] ) && $args['template'] ) {
10 $_id = '%1$s';
11 $emoji = '%2$s';
12 echo '<div id="available-emojis-template">';
13 } else {
14 $_id = $args['id'];
15 $emoji = $args['emoji'];
16 }
17 ?>
18 <li id="emoji-<?php echo esc_attr( $_id ); ?>">
19 <input type="hidden" name="available_emojis[]" value="<?php echo esc_attr( $_id ); ?>">
20 <?php echo esc_html( $emoji ); ?>
21 <small><a href="" class="delete-emoji"><?php esc_html_e( 'delete', 'friends' ); ?></a></small>
22 </li>
23 <?php
24
25 if ( isset( $args['template'] ) && $args['template'] ) {
26 echo '</div>';
27 }
28