woocommerce_ajax_get_endpoint

woocommerce_ajax_get_endpoint

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_ajax_get_endpoint') is found 1 times:

  • /includes/class-wc-ajax.php line 42
    	 *
    	 * @return string
    	 */
    	public static function get_endpoint( $request = '' ) {
    		return esc_url_raw( apply_filters( 'woocommerce_ajax_get_endpoint', add_query_arg( 'wc-ajax', $request, remove_query_arg( array( 'remove_item', 'add-to-cart', 'added-to-cart', 'order_again', '_wpnonce' ), home_url( '/', 'relative' ) ) ), $request ) );
    	}
    
    	/**
    	 * Set WC AJAX constant and headers.
    	 */
    	public static function define_ajax() {