PHP code example of antlur / capo-source-wordpress
1. Go to this page and download the library: Download antlur/capo-source-wordpress library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
antlur / capo-source-wordpress example snippets
apoSourceWordpress\Api;
$api = new Api(env('WP_API_URL'));
$pages = $api->getPages();