PHP code example of kevinkiel / wp-yaml-loader

1. Go to this page and download the library: Download kevinkiel/wp-yaml-loader 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/ */

    

kevinkiel / wp-yaml-loader example snippets


global $config;
$twitter_auth = $config['twitter'];

/* oauth_access_token */
$oauth_access_token = $config['twitter']['oauth_access_token'];