|
@@ 570-580 (lines=11) @@
|
| 567 |
|
$_taxonomies = array_merge_recursive( $_taxonomies, $pods_taxonomies ); |
| 568 |
|
$ignore = array( 'nav_menu', 'link_category', 'post_format' ); |
| 569 |
|
|
| 570 |
|
foreach ( $_taxonomies as $taxonomy => $label ) { |
| 571 |
|
if ( in_array( $taxonomy, $ignore ) ) { |
| 572 |
|
continue; |
| 573 |
|
} |
| 574 |
|
|
| 575 |
|
if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) { |
| 576 |
|
$cpt_taxonomies[] = $taxonomy; |
| 577 |
|
|
| 578 |
|
if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) { |
| 579 |
|
$supported_post_types[ $taxonomy ][] = $post_type_name; |
| 580 |
|
} |
| 581 |
|
} |
| 582 |
|
} |
| 583 |
|
|
|
@@ 676-686 (lines=11) @@
|
| 673 |
|
$_post_types = array_merge_recursive( $_post_types, $pods_post_types ); |
| 674 |
|
$ignore = array( 'revision' ); |
| 675 |
|
|
| 676 |
|
foreach ( $_post_types as $post_type => $options ) { |
| 677 |
|
if ( in_array( $post_type, $ignore ) ) { |
| 678 |
|
continue; |
| 679 |
|
} |
| 680 |
|
|
| 681 |
|
if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) { |
| 682 |
|
$ct_post_types[] = $post_type; |
| 683 |
|
|
| 684 |
|
if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) { |
| 685 |
|
$supported_taxonomies[ $post_type ][] = $taxonomy_name; |
| 686 |
|
} |
| 687 |
|
} |
| 688 |
|
} |
| 689 |
|
|