Ejemplo n.º 1
0
 public function add_tinyMCE_support()
 {
     $includes = array('class-tinymce');
     foreach ($includes as $file) {
         include_once 'includes/' . $file . '.php';
     }
     RWP_TinyMCE::get_instance();
 }
Ejemplo n.º 2
0
 public static function get_instance()
 {
     // If the single instance hasn't been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self();
     }
     //var_dump(self::$instance);
     return self::$instance;
 }