To the developer of this plugin, you can get pod pages using this:
<?php
// Is Pods activated?
if ( function_exists( 'pods_api' ) ) {
// Get PodsAPI
$api = pods_api();
// Get Pod Pages
$pod_pages = $api->load_pages();
$pod_page_list = array();
foreach ( $pod_pages as $pod_page ) {
$pod_page_list[] = $pod_page[ 'name' ]; // example: "friends" or "friend/*"
}
}
?>
You can check if you’re on a specific pod page by using this code:
<?php
// Get pod page from sidebar option
$pod_page = 'friend/*';
if ( function_exists( 'is_pod_page' ) && is_pod_page( $pod_page ) ) {
// This is that pod page
}
?>