@@ 633-643 (lines=11) @@ | ||
630 | $_taxonomies = array_merge_recursive( $_taxonomies, $pods_taxonomies ); |
|
631 | $ignore = array( 'nav_menu', 'link_category', 'post_format' ); |
|
632 | ||
633 | foreach ( $_taxonomies as $taxonomy => $label ) { |
|
634 | if ( in_array( $taxonomy, $ignore ) ) { |
|
635 | continue; |
|
636 | } |
|
637 | ||
638 | if ( false !== (boolean) pods_var( 'built_in_taxonomies_' . $taxonomy, $post_type, false ) ) { |
|
639 | $cpt_taxonomies[] = $taxonomy; |
|
640 | ||
641 | if ( isset( $supported_post_types[ $taxonomy ] ) && ! in_array( $post_type_name, $supported_post_types[ $taxonomy ] ) ) { |
|
642 | $supported_post_types[ $taxonomy ][] = $post_type_name; |
|
643 | } |
|
644 | } |
|
645 | } |
|
646 | ||
@@ 769-779 (lines=11) @@ | ||
766 | $_post_types = array_merge_recursive( $_post_types, $pods_post_types ); |
|
767 | $ignore = array( 'revision' ); |
|
768 | ||
769 | foreach ( $_post_types as $post_type => $options ) { |
|
770 | if ( in_array( $post_type, $ignore ) ) { |
|
771 | continue; |
|
772 | } |
|
773 | ||
774 | if ( false !== (boolean) pods_var( 'built_in_post_types_' . $post_type, $taxonomy, false ) ) { |
|
775 | $ct_post_types[] = $post_type; |
|
776 | ||
777 | if ( isset( $supported_taxonomies[ $post_type ] ) && ! in_array( $taxonomy_name, $supported_taxonomies[ $post_type ] ) ) { |
|
778 | $supported_taxonomies[ $post_type ][] = $taxonomy_name; |
|
779 | } |
|
780 | } |
|
781 | } |
|
782 |