Yoast\WP\SEO\Config
OAuth_Client::delete()
Performs an authenticated DELETE request to the desired URL.
Метод класса: OAuth_Client{}
Хуков нет.
Возвращает
Разное
. The parsed API response.
Использование
$OAuth_Client = new OAuth_Client(); $OAuth_Client->delete( $url, $options );
- $url(строка) (обязательный)
- The URL to send the request to.
- $options(массив)
- The options to pass along to the request.
По умолчанию: []
Код OAuth_Client::delete() OAuth Client::delete Yoast 24.1
public function delete( $url, $options = [] ) { return $this->do_request( 'DELETE', $url, $options ); }