bbp_get_reply_edit_url

  • apply_filters( 'bbp_get_reply_edit_url', $url, $reply_id )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 1493
      		if ( $wp_rewrite->using_permalinks() ) {
      			$url = $wp_rewrite->root . $bbp->reply_slug . '/' . $reply->post_name . '/edit';
      			$url = home_url( user_trailingslashit( $url ) );
      
      		// Unpretty permalinks
      		} else {
      			$url = add_query_arg( array( bbp_get_reply_post_type() => $reply->post_name, 'edit' => '1' ), home_url( '/' ) );
      		}
      
      		return apply_filters( 'bbp_get_reply_edit_url', $url, $reply_id );
      	}
      
      /**
       * Output the trash link of the reply
       *
       * @since bbPress (r2740)
       *
       * @param mixed $args See {@link bbp_get_reply_trash_link()}
       * @uses bbp_get_reply_trash_link() To get the reply trash link
       */
      

Comments are closed.