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.
Return Return
(string)
Source Source
File: includes/class-wc-query.php
public function remove_add_to_cart_pagination( $url ) { return remove_query_arg( 'add-to-cart', $url ); }