LLMS_REST_Webhook_Data::get_user_agent()
Retrieve a user agent string to use for delivering webhooks.
Return Return
(string)
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-webhook-data.php
protected function get_user_agent() { global $wp_version; return sprintf( 'LifterLMS/%1$s Hookshot (WordPress/%2$s)', LLMS()->version, $wp_version ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |