bp_activity_comment_user_id

  • apply_filters( 'bp_activity_comment_user_id', $user_id )

    Source Reference:

    • Component: BuddyPress :: bp-activity
      File: /bp-activity/bp-activity-template.php :: Trac Source Line: 1480
      	 * @uses apply_filters() To call the 'bp_activity_comment_user_id' hook
      	 *
      	 * @return int|bool $user_id The user_id of the author of the displayed activity comment. False on failure
      	 */
      	function bp_get_activity_comment_user_id() {
      		global $activities_template;
      
      		$user_id = isset( $activities_template->activity->current_comment->user_id ) ? $activities_template->activity->current_comment->user_id : false;
      
      		return apply_filters( 'bp_activity_comment_user_id', $user_id );
      	}
      
      /**
       * Echoes the author link for the activity comment currently being displayed
       *
       * @since 1.5.0
       *
       * @uses bp_get_activity_comment_user_link()
       */
      function bp_activity_comment_user_link() {
      

Comments are closed.