| @@ 401-402 (lines=2) @@ | ||
| 398 | } |
|
| 399 | } |
|
| 400 | ||
| 401 | if ( ! pods_is_admin( |
|
| 402 | array( |
|
| 403 | 'pods', |
|
| 404 | 'pods_content', |
|
| 405 | 'pods_edit_' . $pod['name'], |
|
| @@ 480-481 (lines=2) @@ | ||
| 477 | ||
| 478 | if ( ! empty( $settings ) ) { |
|
| 479 | foreach ( (array) $settings as $pod ) { |
|
| 480 | if ( ! pods_is_admin( array( 'pods', 'pods_content', 'pods_edit_' . $pod['name'] ) ) ) { |
|
| 481 | continue; |
|
| 482 | } |
|
| 483 | ||
| 484 | $page_title = pods_v( 'label', $pod, ucwords( str_replace( '_', ' ', $pod['name'] ) ), true ); |
|