Skip to content

friends_modify_feed_item

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

Generic Example

add_filter(
    'friends_modify_feed_item',
    function (
        $item,
        $user_feed
    ) {
        // Your code here
        return $item;
    },
    10,
    2
);

Parameters

  • $item
  • $user_feed

Files

Hooks

Clone this wiki locally