We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d53109a commit 093ad50Copy full SHA for 093ad50
remoting_client/examples/sites_web_domain_get.php
@@ -16,9 +16,14 @@
16
17
//* Set the function parameters.
18
$domain_id = 2;
19
+ $domain_name = 'example.com';
20
21
+ // Lookup by ID.
22
$domain_record = $client->sites_web_domain_get($session_id, $domain_id);
23
24
+ // Lookup by name.
25
+ $domain_record = $client->sites_web_domain_get($session_id, array('domain' => $domain_name));
26
+
27
print_r($domain_record);
28
29
if($client->logout($session_id)) {
0 commit comments