components/Pages.php
public static function flush_rewrites() {

		$args = array(
			'post_type'      => '_pods_page',
			'nopaging'       => true,
			'posts_per_page' => - 1,
			'post_status'    => 'publish',
			'order'          => 'ASC',
			'orderby'        => 'title',
		);

		$pod_pages = get_posts( $args );

		$pod_page_rewrites = array();

		foreach ( $pod_pages as $pod_page ) {
			$pod_page_rewrites[ $pod_page->ID ] = $pod_page->post_title;
		}

		uksort( $pod_page_rewrites, 'pods_page_length_sort' );

		pods_transient_set( 'pods_object_page_rewrites', $pod_page_rewrites );

		$pod_page_rewrites = array_flip( $pod_page_rewrites );

		return $pod_page_rewrites;
	}
public static function flush_rewrites() {

		$args = array(
			'post_type'      => '_pods_page',
			'nopaging'       => true,
			'posts_per_page' => - 1,
			'post_status'    => 'publish',
			'order'          => 'ASC',
			'orderby'        => 'title',
		);

		$pod_pages = get_posts( $args );

		$pod_page_rewrites = array();

		foreach ( $pod_pages as $pod_page ) {
			$pod_page_rewrites[ $pod_page->ID ] = $pod_page->post_title;
		}

		uksort( $pod_page_rewrites, 'pods_page_length_sort' );

		pods_transient_set( 'pods_object_page_rewrites', $pod_page_rewrites );

		$pod_page_rewrites = array_flip( $pod_page_rewrites );

		return $pod_page_rewrites;
	}
public static function flush_rewrites ( ) { $ args = array ( 'post_type' => '_pods_page' , 'nopaging' => true , 'posts_per_page' => - 1 , 'post_status' => 'publish' , 'order' => 'ASC' , 'orderby' => 'title' , ) ; $ pod_pages = get_posts ( $ args ) ; $ pod_page_rewrites = array ( ) ; foreach ( $ pod_pages as $ pod_page ) { $ pod_page_rewrites [ $ pod_page -> ID ] = $ pod_page -> post_title ; } uksort ( $ pod_page_rewrites , 'pods_page_length_sort' ) ; pods_transient_set ( 'pods_object_page_rewrites' , $ pod_page_rewrites ) ; $ pod_page_rewrites = array_flip ( $ pod_page_rewrites ) ; return $ pod_page_rewrites ; }
Flush Pod Page Rewrite cache

@return array Pod Page Rewrites

@since 2.3.4
Flush Pod Page Rewrite cache