Torro_Forms::instantiate_services()

Instantiates the plugin services.

Description

See also

Source

File: src/torro-forms.php

	protected function instantiate_services() {
		if ( defined( 'WP_CLI' ) && WP_CLI ) {
			WP_CLI::add_command( substr( $this->prefix, 0, -1 ), $this->instantiate_library_class( 'CLI_Command_Aggregate' ), array(
				'shortdesc' => 'Manage Torro Forms content.',
			) );
		}

		$this->instantiate_core_services();
		$this->instantiate_component_services();
		$this->instantiate_db_object_managers();
		$this->instantiate_modules();

		$this->setup_capabilities();
		$this->connect_db_object_managers();
		$this->setup_admin_pages();
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.