@@ 855-856 (lines=2) @@ | ||
852 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
|
853 | } |
|
854 | ||
855 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
856 | pods_debug( array( $taxonomy, $ct_post_types, $options ) ); |
|
857 | } |
|
858 | ||
859 | register_taxonomy( $taxonomy, $ct_post_types, $options ); |
|
@@ 886-887 (lines=2) @@ | ||
883 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
|
884 | } |
|
885 | ||
886 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
887 | pods_debug( array( $post_type, $options ) ); |
|
888 | } |
|
889 | ||
890 | register_post_type( $post_type, $options ); |