PHP code example of themeplate / application
1. Go to this page and download the library: Download themeplate/application 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/ */
themeplate / application example snippets
use ThemePlate\Application\Core;
use Env\Env;
ble_prefix = Env::get( 'DB_PREFIX' ) ?: 'wp_';
define( 'WP_USE_THEMES', true );
├── public/
│ └── content/
│ │ ├── mu-plugins/
│ │ ├── plugins/
│ │ ├── themes/
│ │ └── uploads/
│ ├── wp/
│ └── index.php
├── vendor/
└── composer.json
└── wp-config.php
├── public/
│ ├── mu-plugins/
│ ├── plugins/
│ ├── themes/
│ ├── uploads/
│ ├── index.php
│ └── ... WP CORE files
├── vendor/
└── composer.json
└── wp-config.php