dozent_get_pages()
Get the pages
Return
(array)
Source
File: includes/core-functions.php
function dozent_get_pages() { $pages = array(); $wp_pages = get_pages(); if ( is_array( $wp_pages ) && count( $wp_pages ) ) { foreach ( $wp_pages as $page ) { $pages[ $page->ID ] = $page->post_title; } } return $pages; }