@@ 799-800 (lines=2) @@ | ||
796 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
|
797 | } |
|
798 | ||
799 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
800 | pods_debug( array( $taxonomy, $ct_post_types, $options ) ); |
|
801 | } |
|
802 | ||
803 | register_taxonomy( $taxonomy, $ct_post_types, $options ); |
|
@@ 830-831 (lines=2) @@ | ||
827 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
|
828 | } |
|
829 | ||
830 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
831 | pods_debug( array( $post_type, $options ) ); |
|
832 | } |
|
833 | ||
834 | register_post_type( $post_type, $options ); |