rest-api.php 383 B

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