PHP code example of wpessential / wpessential-theme-module
1. Go to this page and download the library: Download wpessential/wpessential-theme-module 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/ */
wpessential / wpessential-theme-module example snippets
# Load the autoloader PHP file
exists and then do_action for theme modules.
if ( class_exists( '\WPEssential\Theme\ThemeSetup' ) ) {
\WPEssential\Theme\ThemeSetup::constructor();
}