Exemplo n.º 1
0
 /**
  * init() Initialisation method which calls all other methods in turn.
  *
  * @since 0.1
  */
 function init()
 {
     $theme = new WPFramework();
     $theme->enviroment();
     $theme->framework();
     $theme->extentions();
     $theme->defaults();
     $theme->ready();
     do_action('framework_init');
 }
Exemplo n.º 2
0
<?php

/**
 * Functions - Framework gatekeeper
 *
 * This file defines a few constants variables, loads up the core framework file, 
 * and finally initialises the main WP Framework Class.
 *
 * @package WPFramework
 * @subpackage Functions
 */
define('WP_FRAMEWORK', '0.2.4');
// Defines current version for WP Framework
/* Blast you red baron! Initialise WP Framework */
require_once TEMPLATEPATH . '/library/framework.php';
WPFramework::init();