WordPress at Your Fingertips
function is not described

WooCommerce::ajax_url() public WC 1.0

Get Ajax URL.

{} It's a method of the class: WooCommerce{}

No Hooks.

Return

String.

Usage

$WooCommerce = new WooCommerce();
$WooCommerce->ajax_url();

Code of WooCommerce::ajax_url() WC 5.6.0

public function ajax_url() {
	return admin_url( 'admin-ajax.php', 'relative' );
}