Yoast\WP\SEO\Services\Health_Check
MyYoast_Api_Request_Factory::create()
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() MyYoast Api Request Factory::create Yoast 24.6
public function create( $url, $args = [] ) { return new WPSEO_MyYoast_Api_Request( $url, $args ); }