PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.6
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.6
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / services / health-check / myyoast-api-request-factory.php

myyoast-api-request-factory.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.6, at src/services/health-check/myyoast-api-request-factory.php

24 lines 557 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yoast\WP\SEO\Services\Health_Check;
4
5 use WPSEO_MyYoast_Api_Request;
6
7 // phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded
8 /**
9 * Creates WPSEO_MyYoast_Api_Request objects.
10 */
11 class MyYoast_Api_Request_Factory {
12
13 /**
14 * Creates a new WPSEO_MyYoast_API_Request.
15 *
16 * @param string $url The URL for the request.
17 * @param array $args Optional arguments for the request.
18 * @return WPSEO_MyYoast_Api_Request
19 */
20 public function create( $url, $args = [] ) {
21 return new WPSEO_MyYoast_Api_Request( $url, $args );
22 }
23 }
24