$hooks→getPathHookRedirect()
Return redirect URL required by an applicable path hook, or blank otherwise
Available since version 3.0.173.
Usage
$string = $hooks->getPathHookRedirect();Return value
string
API reference based on ProcessWire core version 3.0.252