en

wpseek.com
A WordPress-centric search engine for devs and theme authors


  |     Browse all


get_page_by_path [ WordPress Function ]

get_page_by_path ( $page_path, $output = OBJECT, $post_type = 'page' )
Parameters:
  • string $page_path Page path
  • string $output Optional. Output type. OBJECT, ARRAY_N, or ARRAY_A. Default OBJECT.
  • string $post_type Optional. Post type. Default page.
Uses:
  • $wpdb
Returns:
  • mixed Null when complete.
Defined at:



Retrieves a page given its path.

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

User discussions [ wordpress.org ]

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics