activity_format_notifications

  • do_action( 'activity_format_notifications', $action, $item_id, $secondary_item_id, $total_items )

    Source Reference:

    • Component: BuddyPress:: bp-activity
      File: /bp-activity/bp-activity-functions.php :: Trac Source Line: 173
      	if ( 'string' == $format ) {
      		$return = apply_filters( $filter, '<a href="' . $at_mention_link . '" title="' . $at_mention_title . '">' . $text . '</a>', $at_mention_link, (int)$total_items, $activity_id, $poster_user_id );
      	} else {
      		$return = apply_filters( $filter, array(
      			'text' => $text,
      			'link' => $at_mention_link
      		), $at_mention_link, (int)$total_items, $activity_id, $poster_user_id );
      	}
      
      	do_action( 'activity_format_notifications', $action, $item_id, $secondary_item_id, $total_items );
      
      	return $return;
      }
      
      /** Actions ******************************************************************/
      
      /**
       * Sets the current action for a given activity stream location
       *
       * @since 1.1.0
      

Comments are closed.