Wishlist::delete_url()

Summary

Get the URL to delete the wishlist


Return

(string)


Source

File: src/BigCommerce/Accounts/Wishlists/Wishlist.php

	public function delete_url() {
		$url = home_url( sprintf( 'bigcommerce/%s/%s/%d', Request_Router::ACTION, Delete_Wishlist::ACTION, $this->list_id() ) );

		/**
		 * Filter the URL for deleting a wishlist
		 *
		 * @param string   $url      The form handler URL
		 * @param Wishlist $wishlist The wishlist object
		 */
		return apply_filters( 'bigcommerce/wishlist/delete-url', $url, $this );
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.