[wp-trac] [WordPress Trac] #64924: Add a `has_ai_credentials()` function to WordPress core that plugins can use to check if AI credentials are available.
WordPress Trac
noreply at wordpress.org
Mon Mar 23 12:59:45 UTC 2026
#64924: Add a `has_ai_credentials()` function to WordPress core that plugins can
use to check if AI credentials are available.
-------------------------+--------------------------------------------
Reporter: raftaar1191 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: AI | Version: trunk
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses: accessibility, sustainability
-------------------------+--------------------------------------------
Comment (by raftaar1191):
Hi @lakshmananphp,
I believe the most appropriate place for this function would be within the
connectors.php file in core:
https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/connectors.php
This seems aligned with the existing structure and responsibilities of
that file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64924#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list