Module_Manager::add_hooks()

Adds the service hooks.

Description

See also

Source

File: src/modules/module-manager.php

	public function add_hooks() {
		if ( $this->hooks_added ) {
			return false;
		}

		foreach ( $this->get_all_active() as $module ) {
			$module->add_hooks();
		}

		$this->hooks_added = true;

		return true;
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.