includes/class-wp-requirements.php
public function get_plugin( $data = '' ) {
		// Get all the data.
		if ( ! $data ) {
			return $this->plugin;
		}

		// Get specific plugin data.
		if ( ! empty( $this->plugin[ $data ] ) ) {
			return $this->plugin[ $data ];
		}

		return null;
	}
public function get_plugin( $data = '' ) {
		// Get all the data.
		if ( ! $data ) {
			return $this->plugin;
		}

		// Get specific plugin data.
		if ( ! empty( $this->plugin[ $data ] ) ) {
			return $this->plugin[ $data ];
		}

		return null;
	}
public function get_plugin ( $ data = '' ) { // Get all the data. if ( ! $ data ) { return $ this -> plugin ; } // Get specific plugin data. if ( ! empty ( $ this -> plugin [ $ data ] ) ) { return $ this -> plugin [ $ data ] ; } return null ; }
Retrieve current plugin data, like paths, name etc

@param string $data Which data is requested.

@return mixed
Retrieve current plugin data like paths name etc