PHP code example of jitesoft / wp-base

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

    

jitesoft / wp-base example snippets



jitesoft('logger')->debug(...);

// Add something
Jitesoft\WordPress\Plugins\Base\getContainer()->bind('something', 'something');
// Get something
Jitesoft\WordPress\Plugins\Base\getContainer()->get('something'); // 'something'
// Get something via convenience method
jitesoft('something'); // 'something'