@@ 76-84 (lines=9) @@ | ||
73 | } |
|
74 | ||
75 | // Create test posts |
|
76 | for( $i = 0; $i < $num; $i++ ){ |
|
77 | ||
78 | $return = $this->create_test_object( $slug, $supports, $metaboxes ); |
|
79 | ||
80 | if ( $echo === true ){ |
|
81 | echo \json_encode( $return ); |
|
82 | } |
|
83 | ||
84 | } |
|
85 | ||
86 | } |
|
87 |
@@ 47-55 (lines=9) @@ | ||
44 | } |
|
45 | ||
46 | // Create test terms |
|
47 | for( $i = 0; $i < $num; $i++ ){ |
|
48 | ||
49 | $return = $this->create_test_object( $slug ); |
|
50 | ||
51 | if ( $echo === true ){ |
|
52 | echo \json_encode( $return ); |
|
53 | } |
|
54 | ||
55 | } |
|
56 | ||
57 | } |
|
58 |