Module_Manager::remove_hooks()

Removes the service hooks.

Description

See also

Source

File: src/modules/module-manager.php

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

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

		$this->hooks_added = false;

		return true;
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.