bbp_update_reply_id

  • apply_filters( 'bbp_update_reply_id', $reply_id, $post_id )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-functions.php :: Trac Source Line: 104
       *
       * @since bbPress (r3181)
       *
       * @param int $post_id The post to update
       * @param int $forum_id The forum
       */
      function bbp_update_reply_id( $post_id, $reply_id ) {
      
      	// Allow the reply ID to be updated 'just in time' before save
      	$reply_id = apply_filters( 'bbp_update_reply_id', $reply_id, $post_id );
      
      	// Update the post meta reply ID
      	update_post_meta( $post_id, '_bbp_reply_id',(int) $reply_id );
      }
      
      /** Formatting ****************************************************************/
      
      /**
       * A bbPress specific method of formatting numeric values
       *
      

Comments are closed.