WC_Query::remove_add_to_cart_pagination( string $url )

Remove the add-to-cart param from pagination urls.


Description Description


Parameters Parameters

$url

(Required) URL.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-query.php

	public function remove_add_to_cart_pagination( $url ) {
		return remove_query_arg( 'add-to-cart', $url );
	}

Top ↑

User Contributed Notes User Contributed Notes

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