YoastWPSEOai_api_url
YoastWPSEOai_api_url
Appears in: wordpress-seo.25.6, wordpress-seo.25.9
Hook Type: filter
Displaying hooks found in version: wordpress-seo.25.9apply_filters('YoastWPSEOai_api_url') is found 1 times:
- /src/ai-http-request/infrastructure/api-client.php line 56
* @internal * * @param string $url The default URL for the AI API. */ $url = \apply_filters( 'Yoast\WP\SEO\ai_api_url', $this->base_url ); $response = ( $is_post ) ? \wp_remote_post( $url . $action_path, $arguments ) : \wp_remote_get( $url . $action_path, $arguments ); if ( \is_wp_error( $response ) ) { // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped -- false positive. throw new WP_Request_Exception( $response->get_error_message() ); }