Function __global->process_overridden_comment_forum
Definitions
sources/feedback.php
- Get the comment topic forum for a feedback scenario, and move an existing comment topic to a different forum if the category has moved and the categories have divergent configured comment topic forums (Conversr only).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $feedback_code | ID_TEXT | No | No | required parameter | N/A | N/A | The feedback code, which we may have overridden the comment forum against |
| $id | ID_TEXT | No | No | required parameter | N/A | N/A | The resource ID whose comment topic may need moving |
| $category_id | ID_TEXT | No | No | required parameter | N/A | N/A | The new/current category ID, which we may have overridden the comment forum against |
| $old_category_id | ID_TEXT | No | No | required parameter | N/A | N/A | The old category ID, which we may have overridden the comment forum against |
Returns
- The comment topic forum
- Type: ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the comment topic forum for a feedback scenario, and move an existing comment topic to a different forum if the category has moved and the categories have divergent configured comment topic forums (Conversr only).
*
* @param ID_TEXT $feedback_code The feedback code, which we may have overridden the comment forum against
* @param ID_TEXT $id The resource ID whose comment topic may need moving
* @param ID_TEXT $category_id The new/current category ID, which we may have overridden the comment forum against
* @param ID_TEXT $old_category_id The old category ID, which we may have overridden the comment forum against
* @return ID_TEXT The comment topic forum
*/
function process_overridden_comment_forum(string $feedback_code, string $id, string $category_id, string $old_category_id) : string
* Get the comment topic forum for a feedback scenario, and move an existing comment topic to a different forum if the category has moved and the categories have divergent configured comment topic forums (Conversr only).
*
* @param ID_TEXT $feedback_code The feedback code, which we may have overridden the comment forum against
* @param ID_TEXT $id The resource ID whose comment topic may need moving
* @param ID_TEXT $category_id The new/current category ID, which we may have overridden the comment forum against
* @param ID_TEXT $old_category_id The old category ID, which we may have overridden the comment forum against
* @return ID_TEXT The comment topic forum
*/
function process_overridden_comment_forum(string $feedback_code, string $id, string $category_id, string $old_category_id) : string

