bbp_get_reply_author_id

  • apply_filters( 'bbp_get_reply_author_id', (int) $author_id, $reply_id )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 834
      	 * @uses get_post_field() To get the reply author id
      	 * @uses apply_filters() Calls 'bbp_get_reply_author_id' with the author
      	 *                        id and reply id
      	 * @return string Author id of reply
      	 */
      	function bbp_get_reply_author_id( $reply_id = 0 ) {
      		$reply_id  = bbp_get_reply_id( $reply_id );
      		$author_id = get_post_field( 'post_author', $reply_id );
      
      		return apply_filters( 'bbp_get_reply_author_id', (int) $author_id, $reply_id );
      	}
      
      /**
       * Output the author display_name of the reply
       *
       * @since bbPress (r2667)
       *
       * @param int $reply_id Optional. Reply id
       * @uses bbp_get_reply_author_display_name()
       */
      

Comments are closed.