Yoast\WP\SEO\Services\Health_Check

MyYoast_Api_Request_Factory::create()publicYoast 1.0

Creates a new WPSEO_MyYoast_API_Request.

Метод класса: MyYoast_Api_Request_Factory{}

Хуков нет.

Возвращает

WPSEO_MyYoast_Api_Request.

Использование

$MyYoast_Api_Request_Factory = new MyYoast_Api_Request_Factory();
$MyYoast_Api_Request_Factory->create( $url, $args );
$url(строка) (обязательный)
The URL for the request.
$args(массив)
Optional arguments for the request.
По умолчанию: []

Код MyYoast_Api_Request_Factory::create() Yoast 24.6

public function create( $url, $args = [] ) {
	return new WPSEO_MyYoast_Api_Request( $url, $args );
}