WordPress at a glance
function is not described

WP_Rewrite::page_rewrite_rules() public WP 1.5.0

Retrieves all of the rewrite rules for pages.

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

No Hooks.

Return

String[]. Page rewrite rules.

Usage

global $wp_rewrite;
$wp_rewrite->page_rewrite_rules();

Changelog

Since 1.5.0 Introduced.

Code of WP_Rewrite::page_rewrite_rules() WP 5.5.2

<?php
public function page_rewrite_rules() {
	// The extra .? at the beginning prevents clashes with other regular expressions in the rules array.
	$this->add_rewrite_tag( '%pagename%', '(.?.+?)', 'pagename=' );

	return $this->generate_rewrite_rules( $this->get_page_permastruct(), EP_PAGES, true, true, false, false );
}