Table plus | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Description
Excerpt | ||
---|---|---|
| ||
Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given page. |
Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given page.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
commentId_or_mode
...
number or string
...
Yes
...
Either the comment id (if we use the routine with only one parameter) or one of the next, otherwise: - "DELETE_LATEST" to delete the latest comment for the given page - "DELETE_ALL" to delete all the comments for the given page
...
page ID
...
Number
...
No
...
Return Type
Number
The number of comments deleted.
...
Code Block | ||
---|---|---|
| ||
deleteComment("DELETE_ALL", 11801); |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|