|
@@ -6,10 +6,6 @@ |
|
6
|
6
|
* |
|
7
|
7
|
* @var $records |
|
8
|
8
|
*/ |
|
9
|
9
|
|
|
10
|
|
-if ( ! defined( 'ABSPATH' ) ) { |
|
11
|
|
- exit; |
|
12
|
|
-} |
|
13
|
|
- |
|
14
|
10
|
header( 'Content-type: application/json; charset=' . get_option( 'blog_charset' ), true ); |
|
15
|
11
|
echo wp_json_encode( $records, JSON_PRETTY_PRINT ); |