PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.6
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.6
28.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 All 130 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 28.6, at src/services/health-check/myyoast-api-request-factory.php

23 lines 489 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 /**
8 * Creates WPSEO_MyYoast_Api_Request objects.
9 */
10 class MyYoast_Api_Request_Factory {
11
12 /**
13 * Creates a new WPSEO_MyYoast_API_Request.
14 *
15 * @param string $url The URL for the request.
16 * @param array $args Optional arguments for the request.
17 * @return WPSEO_MyYoast_Api_Request
18 */
19 public function create( $url, $args = [] ) {
20 return new WPSEO_MyYoast_Api_Request( $url, $args );
21 }
22 }
23