@@ 748-749 (lines=2) @@ | ||
745 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL taxonomy slug', 'pods' ); |
|
746 | } |
|
747 | ||
748 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
749 | pods_debug( array( $taxonomy, $ct_post_types, $options ) ); |
|
750 | } |
|
751 | ||
752 | register_taxonomy( $taxonomy, $ct_post_types, $options ); |
|
@@ 779-780 (lines=2) @@ | ||
776 | $options['rewrite']['slug'] = _x( $options['rewrite']['slug'], 'URL slug', 'pods' ); |
|
777 | } |
|
778 | ||
779 | if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) ) { |
|
780 | pods_debug( array( $post_type, $options ) ); |
|
781 | } |
|
782 | ||
783 | register_post_type( $post_type, $options ); |