wc_get_user_agent()
Get user agent string.
Description Description
Return Return
(string)
Source Source
File: includes/wc-core-functions.php
function wc_get_user_agent() { return isset( $_SERVER['HTTP_USER_AGENT'] ) ? wc_clean( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) : ''; // @codingStandardsIgnoreLine }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |