@@ -133,14 +133,14 @@ |
||
133 | 133 | |
134 | 134 | // Query for our terms |
135 | 135 | $args = array( |
136 | - 'hide_empty' => false, |
|
137 | - 'meta_query' => array( |
|
138 | - array( |
|
139 | - 'key' => 'evans_test_content', |
|
140 | - 'value' => '__test__', |
|
141 | - 'compare' => '=' |
|
142 | - ) |
|
143 | - ) |
|
136 | + 'hide_empty' => false, |
|
137 | + 'meta_query' => array( |
|
138 | + array( |
|
139 | + 'key' => 'evans_test_content', |
|
140 | + 'value' => '__test__', |
|
141 | + 'compare' => '=' |
|
142 | + ) |
|
143 | + ) |
|
144 | 144 | ); |
145 | 145 | |
146 | 146 | $terms = get_terms( $slug, $args ); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $post_types = get_post_types( array( 'public' => true ), 'objects' ); |
26 | 26 | foreach ( $post_types as $post_type ) : |
27 | 27 | |
28 | - $this->delete_posts( $post_type->name, $echo ); |
|
28 | + $this->delete_posts( $post_type->name, $echo ); |
|
29 | 29 | |
30 | 30 | endforeach; |
31 | 31 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $taxonomies = get_taxonomies(); |
34 | 34 | foreach ( $taxonomies as $tax ) : |
35 | 35 | |
36 | - $this->delete_terms( $tax, $echo ); |
|
36 | + $this->delete_terms( $tax, $echo ); |
|
37 | 37 | |
38 | 38 | endforeach; |
39 | 39 |