woocommerce_api_pagination_headers

woocommerce_api_pagination_headers

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

do_action('woocommerce_api_pagination_headers') is found 3 times:

  • /includes/legacy/api/v1/class-wc-api-server.php line 591
     
    		$this->header( 'X-WC-Total', $total );
    		$this->header( 'X-WC-TotalPages', $total_pages );
    
    		do_action( 'woocommerce_api_pagination_headers', $this, $query );
    	}
    
    	/**
    	 * Returns the request URL with the page query parameter set to the specified page
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v2/class-wc-api-server.php line 628
     
    		$this->header( 'X-WC-Total', $total );
    		$this->header( 'X-WC-TotalPages', $total_pages );
    
    		do_action( 'woocommerce_api_pagination_headers', $this, $query );
    	}
    
    	/**
    	 * Returns the request URL with the page query parameter set to the specified page
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v3/class-wc-api-server.php line 630
     
    		$this->header( 'X-WC-Total', $total );
    		$this->header( 'X-WC-TotalPages', $total_pages );
    
    		do_action( 'woocommerce_api_pagination_headers', $this, $query );
    	}
    
    	/**
    	 * Returns the request URL with the page query parameter set to the specified page
    	 *
    	 * @since 2.1