'WordPress://theme-info', 'name' => 'theme-info', 'description' => 'Provides detailed information about the active WordPress theme', 'mimeType' => 'application/json', ), array( $this, 'get_theme_info' ) ); } /** * Get information about the active theme. * * @param array $params Optional parameters to filter the response. * * @return array */ public function get_theme_info( array $params = array() ): array { return ActiveThemeInfo::get_theme_info( $params ); } }