WordPress at a glance
function is not described

woocommerce_legacy_paypal_ipn() WC 1.0

Handle IPN requests for the legacy paypal gateway by calling gateways manually if needed.

Hooks from the function
Return

null. Nothing.

Usage

woocommerce_legacy_paypal_ipn();

Code of woocommerce_legacy_paypal_ipn() WC 5.3.0

<?php
function woocommerce_legacy_paypal_ipn() {
	if ( ! empty( $_GET['paypalListener'] ) && 'paypal_standard_IPN' === $_GET['paypalListener'] ) {
		WC()->payment_gateways();
		do_action( 'woocommerce_api_wc_gateway_paypal' );
	}
}