[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ai-client/adapters/ -> class-wp-ai-client-discovery-strategy.php (summary)

WP AI Client: WP_AI_Client_Discovery_Strategy class

File Size: 37 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_AI_Client_Discovery_Strategy:: (1 method):
  createClient()


Class: WP_AI_Client_Discovery_Strategy  - X-Ref

Discovery strategy for WordPress HTTP client.

Registers the WordPress HTTP client adapter with the HTTPlug discovery system
so the AI Client SDK can find and use it automatically.

createClient( Psr17Factory $psr17_factory )   X-Ref
Creates an instance of the WordPress HTTP client.

return: ClientInterface The PSR-18 HTTP client.
param: Psr17Factory $psr17_factory The PSR-17 factory for creating HTTP messages.



Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref