m_delete_post
Function
Function Name | Description | Level |
m_delete_post | Ability to delete a particular post. Please refer to "delete_post" for deleting own post. | |
Input Parameters:
Name | Type | Required? | Description | Level |
post_id | String | yes | | |
mode | Int | | "1" = soft-delete a post. "2" = hard-delete a post. If a particular forum system does not support soft-delete, always perform a hard delete. | |
reason_text | byte[] | | This option allows user to insert the reason of deletion. | |
Output Parameters:
Name | Type | Required? | Description | Level |
result | Boolean | yes | return true if the action is executed successfully. | |
result_text | byte[] | | Reason of the failure, if any. | |
is_login_mod | Boolean | | return true if user need to re-authenticate with login_mod function again before proceeding. | |