void __construct ([ mixed $args [, $... ]] )
void
, а void
в данном случае это ссылка на класс 1-20.08.2017.txt
, 2-20.08.2017.txt
а потом вытаскивать через regexp$_SESSION['logged_user']['login']
$response = $client->get('http://httpbin.org/get');
$response = $client->delete('http://httpbin.org/delete');
$response = $client->head('http://httpbin.org/get');
$response = $client->options('http://httpbin.org/get');
$response = $client->patch('http://httpbin.org/patch');
$response = $client->post('http://httpbin.org/post');
$response = $client->put('http://httpbin.org/put');
public function js()
{
wp_deregister_script('jquery');
wp_register_script('yandex-map', 'https://api-maps.yandex.ru/2.1/?lang=ru_RU', [], null, true);
wp_register_script('theme-libraries', get_template_directory_uri().'/assets/js/libraries.js', [], $this->version(), true);
wp_register_script('theme-application', get_template_directory_uri().'/assets/js/application.js', ['theme-libraries', 'yandex-map'], $this->version(), true);
wp_enqueue_script('theme-application');
}