Install::instance()


Source

File: classes/Install.php

	public static function instance() {
		static $instance = null;

		// Only run these methods if they haven't been run previously
		if ( null === $instance ) {
			$instance = new self();
			$instance->create_databases();
			$instance->create_pages();
			$instance->roles_and_permissions();
			$instance->set_default_options();
		}

		// Always return the instance
		return $instance;
	}