在查找與工單消息正文相關的知識庫文章建議之前執行。可用於覆蓋默認的知識庫查找。如果返回的結果少於 5 個,WHMCS 將搜索知識庫並將其自己的結果添加到輸出中。
參數
變量 | 類型 | 注意 |
---|---|---|
text | string | 消息體 |
響應
一組知識庫文章 ID。
示例代碼
<?php
add_hook('SubmitTicketAnswerSuggestions', 1, function($vars) {
// Perform hook code here...
});
相關用法
- PHP String wordwrap()用法及代碼示例
- PHP SimpleXMLElement children()用法及代碼示例
- PHP SplPriorityQueue isCorrupted()用法及代碼示例
- PHP SplObjectStorage key()用法及代碼示例
- PHP SplHeap extract()用法及代碼示例
- PHP String sprintf()用法及代碼示例
- PHP SplPriorityQueue insert()用法及代碼示例
- PHP SplFixedArray key()用法及代碼示例
- PHP String ucwords()用法及代碼示例
- PHP SplFileInfo getRealPath()用法及代碼示例
- PHP SplObjectStorage rewind()用法及代碼示例
- PHP SplFileInfo getPerms()用法及代碼示例
- PHP SplHeap top()用法及代碼示例
- PHP SplFileInfo getExtension()用法及代碼示例
- PHP String substr()用法及代碼示例
- PHP WHMCS SendAdminEmail用法及代碼示例
- PHP SplObjectStorage count()用法及代碼示例
- PHP SplFileInfo getSize( )用法及代碼示例
- PHP SplFixedArray toArray()用法及代碼示例
- PHP SplDoublyLinkedList offsetExists()用法及代碼示例
- PHP SplFileObject flock()用法及代碼示例
- PHP SimpleXMLElement XPath()用法及代碼示例
- PHP SimpleXMLElement::xpath()用法及代碼示例
- PHP String localeconv()用法及代碼示例
- PHP SplDoublyLinkedList key()用法及代碼示例
注:本文由純淨天空篩選整理自whmcs.com大神的英文原創作品 SubmitTicketAnswerSuggestions。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。