PageTraversal::hasReferences()
Return number of VISIBLE pages that are following (referencing) the given one by way of Page references
Note that this excludes hidden, unpublished and otherwise non-accessible pages (access control). If you do not want to exclude these, use the numFollowers() function instead, OR specify "include=all" for the $selector argument.
Usage
// basic usage
$int = $pageTraversal->hasReferences(Page $page);
// usage with all arguments
$int = $pageTraversal->hasReferences(Page $page, string $selector = '', $field = '');PageTraversal methods and properties
API reference based on ProcessWire core version 3.0.255