Function __global->content_review_set
Definitions
sources/content_reviews2.php
- Save the results of a content review form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $content_type | ID_TEXT | No | No | required parameter | N/A | N/A | The content type |
| $content_id | ID_TEXT | No | No | required parameter | N/A | N/A | The content ID |
| $old_content_id | ?ID_TEXT | No | No | Null | N/A | N/A | The old content ID (null: not being renamed) |
Preview
Code (PHP)
/**
* Save the results of a content review form.
*
* @param ID_TEXT $content_type The content type
* @param ID_TEXT $content_id The content ID
* @param ?ID_TEXT $old_content_id The old content ID (null: not being renamed)
*/
function content_review_set(string $content_type, string $content_id, ?string $old_content_id = null)
* Save the results of a content review form.
*
* @param ID_TEXT $content_type The content type
* @param ID_TEXT $content_id The content ID
* @param ?ID_TEXT $old_content_id The old content ID (null: not being renamed)
*/
function content_review_set(string $content_type, string $content_id, ?string $old_content_id = null)
