app/Hametuha/Sekisyo/GateKeeper.php
public static function get( $guid ) {
		$instance = self::get_instance();
		if ( isset( $instance->plugins[ $guid ] ) ) {
			return $instance->plugins[ $guid ];
		} else {
			new \WP_Error( sprintf( __( 'Plugin %s is not registered.', 'sekisyo' ), $guid ), 404, [
				'status' => 404,
			] );
		}
	}
public static function get( $guid ) {
		$instance = self::get_instance();
		if ( isset( $instance->plugins[ $guid ] ) ) {
			return $instance->plugins[ $guid ];
		} else {
			new \WP_Error( sprintf( __( 'Plugin %s is not registered.', 'sekisyo' ), $guid ), 404, [
				'status' => 404,
			] );
		}
	}
public static function get ( $ guid ) { $ instance = self :: get_instance ( ) ; if ( isset ( $ instance -> plugins [ $ guid ] ) ) { return $ instance -> plugins [ $ guid ] ; } else { new \ WP_Error ( sprintf ( __ ( 'Plugin %s is not registered.' , 'sekisyo' ) , $ guid ) , 404 , [ 'status' => 404 , ] ) ; } }
Get plugin instance.

@param string $guid

@return Plugin|\WP_Error
Get plugin instance .