Skip to content

friends_user_post_reaction

Alex Kirk edited this page Apr 8, 2024 · 11 revisions

Generic Example

add_action(
    'friends_user_post_reaction',
    function (
        $post_id,
        self::validate_emoji($reaction),
        $reaction,
        $terms[0]
    ) {
        // Your code here
    },
    10,
    4
);

Parameters

  • $post_id
  • self::validate_emoji($reaction)
  • $reaction
  • $terms[0]

Files

do_action( 'friends_user_post_reaction', $post_id, self::validate_emoji( $reaction ), $reaction, $terms[0] )

Hooks

Clone this wiki locally