includes/class-create-post.php 1 location
|
@@ 45-53 (lines=9) @@
|
42 |
|
} |
43 |
|
|
44 |
|
// Create test posts |
45 |
|
for( $i = 0; $i < $num; $i++ ){ |
46 |
|
|
47 |
|
$return = $this->create_test_object( $slug, $supports, $metaboxes ); |
48 |
|
|
49 |
|
if ( $echo === true ){ |
50 |
|
echo \json_encode( $return ); |
51 |
|
} |
52 |
|
|
53 |
|
} |
54 |
|
|
55 |
|
} |
56 |
|
|
includes/class-create-term.php 1 location
|
@@ 41-49 (lines=9) @@
|
38 |
|
} |
39 |
|
|
40 |
|
// Create test terms |
41 |
|
for( $i = 0; $i < $num; $i++ ){ |
42 |
|
|
43 |
|
$return = $this->create_test_object( $slug ); |
44 |
|
|
45 |
|
if ( $echo === true ){ |
46 |
|
echo \json_encode( $return ); |
47 |
|
} |
48 |
|
|
49 |
|
} |
50 |
|
|
51 |
|
} |
52 |
|
|