| 1 |
<?php |
| 2 |
|
| 3 |
// Exit if accessed directly. |
| 4 |
if ( ! defined( 'ABSPATH' ) ) { |
| 5 |
exit; |
| 6 |
} |
| 7 |
|
| 8 |
acf_include( 'includes/rest-api/acf-rest-api-functions.php' ); |
| 9 |
acf_include( 'includes/rest-api/class-acf-rest-api.php' ); |
| 10 |
acf_include( 'includes/rest-api/class-acf-rest-embed-links.php' ); |
| 11 |
acf_include( 'includes/rest-api/class-acf-rest-request.php' ); |
| 12 |
|
| 13 |
// Initialize. |
| 14 |
acf_new_instance( 'ACF_Rest_Api' ); |
| 15 |
|