bbp_delete_reply

  • do_action( 'bbp_delete_reply', $reply_id )

    Source Reference:

    • Component: bbPress:: bbp-reply
      File: /bbp-includes/bbp-reply-functions.php :: Trac Source Line: 1170
       * @uses bbp_is_reply() To check if the passed id is a reply
       * @uses do_action() Calls 'bbp_delete_reply' with the reply id
       */
      function bbp_delete_reply( $reply_id = 0 ) {
      	$reply_id = bbp_get_reply_id( $reply_id );
      
      	if ( empty( $reply_id ) || !bbp_is_reply( $reply_id ) )
      		return false;
      
      	do_action( 'bbp_delete_reply', $reply_id );
      }
      
      /**
       * Called before trashing a reply
       *
       * @uses bbp_get_reply_id() To get the reply id
       * @uses bbp_is_reply() To check if the passed id is a reply
       * @uses do_action() Calls 'bbp_trash_reply' with the reply id
       */
      function bbp_trash_reply( $reply_id = 0 ) {
      

Comments are closed.