wp-includes/class-wp-plugin-dependency-installer.php
/**
	 * Determine if dependency is active or installed.
	 */
Determine if dependency is active or installed.
Determine if dependency is active or installed .
public function admin_init() {
		$this->add_download_link();
		foreach ( $this->config as $slug => $dependency ) {
			$this->modify_plugin_row( $slug );
			if ( $this->is_active( $slug ) ) {
			} elseif ( $this->is_installed( $slug ) ) {
				$this->notices[] = $this->activate_notice( $slug );
			} else {
				$this->notices[] = $this->install_notice( $slug );
			}
		}
	}
public function admin_init ( ) { $ this -> add_download_link ( ) ; foreach ( $ this -> config as $ slug => $ dependency ) { $ this -> modify_plugin_row ( $ slug ) ; if ( $ this -> is_active ( $ slug ) ) { } elseif ( $ this -> is_installed ( $ slug ) ) { $ this -> notices [ ] = $ this -> activate_notice ( $ slug ) ; } else { $ this -> notices [ ] = $ this -> install_notice ( $ slug ) ; } } }
Determine if dependency is active or installed.
Determine if dependency is active or installed .
// Get the gears turning. // Generate admin notices. // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedIf // Do nothing.