Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: get_page_uri

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
5903
5904      /**
5905       * Filters the URI for a page.
5906       *
5907       * @since 4.4.0
5908       *
5909       * @param string  $uri  Page URI.
5910       * @param WP_Post $page Page object.
5911       */
5912      return apply_filters( 'get_page_uri', $uri, $page );
5913 }
5914
5915 /**
5916  * Retrieve an array of pages (or hierarchical post type items).
5917  *
5918  * @global wpdb $wpdb WordPress database abstraction object.
5919  *
5920  * @since 1.5.0
5921  *