Support Tools
The following hooks are provided for Support Tools related events.
AnnouncementAdd
Executes as an announcement is being added.
Parameters
Variable | Type | Notes |
---|---|---|
id | int | Announcement ID |
title | string | Announcement Title |
description | string | Announcement Description |
date | string | Announcement Date |
published | string | Announcement Status |
clients | Array | Clients List |
Response
No Response Supported.
Example Code
<?php
add_hook('AnnouncementAdd', 1, function($vars)
{
});
AnnouncementEdit
Executes as an announcement is being Updated.
Parameters
Variable | Type | Notes |
---|---|---|
id | int | Announcement ID |
title | string | Announcement Title |
description | string | Announcement Description |
date | string | Announcement Date |
published | string | Announcement Status |
clients | Array | Clients List |
Response
No Response Supported.
Example Code
<?php
add_hook('AnnouncementEdit', 1, function($vars)
{
});
NetworkIssueAdd
Executes as an Network Issue is being added.
Parameters
Variable | Type | Notes |
---|---|---|
id | int | Network issueID |
title | string | Network issue Title |
description | string | Network issueDescription |
start_date | string | Network issue Start Date |
end_date | string | Network issue End Date |
published | string | Network issue Status |
type | string | Network issue Type |
priority | string | Network issue Priority |
clients | Array | Clients List |
Response
No Response Supported.
Example Code
<?php
add_hook('NetworkIssueAdd', 1, function($vars)
{
});
NetworkIssueClose
Executes as an Network Issue is being resolved.
Parameters
Variable | Type | Notes |
---|---|---|
id | int | Network issueID |
title | string | Network issue Title |
description | string | Network issueDescription |
start_date | string | Network issue Start Date |
end_date | string | Network issue End Date |
published | string | Network issue Status |
type | string | Network issue Type |
priority | string | Network issue Priority |
clients | Array | Clients List |
Response
No Response Supported.
Example Code
<?php
add_hook('NetworkIssueClose', 1, function($vars)
{
});
NetworkIssueDelete
Executes as an Network Issue is being deleted.
Parameters
Variable | Type | Notes |
---|---|---|
id | int | Network issueID |
title | string | Network issue Title |
description | string | Network issueDescription |
start_date | string | Network issue Start Date |
end_date | string | Network issue End Date |
published | string | Network issue Status |
type | string | Network issue Type |
priority | string | Network issue Priority |
clients | Array | Clients List |
Response
No Response Supported.
Example Code
<?php
add_hook('NetworkIssueDelete', 1, function($vars)
{
});
NetworkIssueEdit
Executes as an Network Issue is being updated.
Parameters
Variable | Type | Notes |
---|---|---|
id | int | Network issueID |
title | string | Network issue Title |
description | string | Network issueDescription |
start_date | string | Network issue Start Date |
end_date | string | Network issue End Date |
published | string | Network issue Status |
type | string | Network issue Type |
priority | string | Network issue Priority |
clients | Array | Clients List |
Response
No Response Supported.
Example Code
<?php
add_hook('NetworkIssueEdit', 1, function($vars)
{
});
NetworkIssueReopen
Executes as an Network Issue is being re-opened.
Parameters
Variable | Type | Notes |
---|---|---|
id | int | Network issueID |
title | string | Network issue Title |
description | string | Network issueDescription |
start_date | string | Network issue Start Date |
end_date | string | Network issue End Date |
published | string | Network issue Status |
type | string | Network issue Type |
priority | string | Network issue Priority |
clients | Array | Clients List |
Response
No Response Supported.
Example Code
<?php
add_hook('NetworkIssueReopen', 1, function($vars)
{
});