Function __global->register_site_telemetry
Definitions
sources/telemetry.php
- Register this site with the homesite telemetry service if options and server environment permit.This should also be called when we need to update the homesite with this site's name, version, or may feature setting.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $skip_creation | boolean | No | No | False | N/A | N/A | Whether to skip creating a site key-pair and registering if one does not exist; this should be true when calling from an error handler |
Returns
- Whether the site has been registered or is already registered
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Register this site with the homesite telemetry service if options and server environment permit.This should also be called when we need to update the homesite with this site's name, version, or may feature setting.
*
* @param boolean $skip_creation Whether to skip creating a site key-pair and registering if one does not exist; this should be true when calling from an error handler
* @return boolean Whether the site has been registered or is already registered
*/
function register_site_telemetry(bool $skip_creation = false) : bool
* Register this site with the homesite telemetry service if options and server environment permit.This should also be called when we need to update the homesite with this site's name, version, or may feature setting.
*
* @param boolean $skip_creation Whether to skip creating a site key-pair and registering if one does not exist; this should be true when calling from an error handler
* @return boolean Whether the site has been registered or is already registered
*/
function register_site_telemetry(bool $skip_creation = false) : bool

