@@ 848-849 (lines=2) @@ | ||
845 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
|
846 | } |
|
847 | ||
848 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
849 | pods_debug( array( $taxonomy, $ct_post_types, $options ) ); |
|
850 | } |
|
851 | ||
852 | register_taxonomy( $taxonomy, $ct_post_types, $options ); |
|
@@ 879-880 (lines=2) @@ | ||
876 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
|
877 | } |
|
878 | ||
879 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
880 | pods_debug( array( $post_type, $options ) ); |
|
881 | } |
|
882 | ||
883 | register_post_type( $post_type, $options ); |