WP_Http_Cookie::get_attributes
Retrieves cookie attributes.
Метод класса: WP_Http_Cookie{}
Хуков нет.
Возвращает
array. List of attributes.
Использование
$WP_Http_Cookie = new WP_Http_Cookie(); $WP_Http_Cookie->get_attributes();
Список изменений
| С версии 4.6.0 | Введена. |
Код WP_Http_Cookie::get_attributes() WP Http Cookie::get attributes WP 7.1.3
public function get_attributes() {
return array(
'expires' => $this->expires,
'path' => $this->path,
'domain' => $this->domain,
);
}