da_r_get_all_reactions

Location:

DaReactions\Data::getAllReactions

Filters the array of all available reactions.

Parameters:

  • $reactions  (array): The reactions data.

Example:

add_filter('da_r_get_all_reactions', function($reactions) {
    $reactions[] = ['id' => 'custom', 'label' => 'Custom Reaction'];
    return $reactions;
});

Use Case:

Add custom reactions.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us