Function __global->wiki_delete_post
Definitions
sources/wiki.php
- Delete a Wiki+ post.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $post_id | AUTO_LINK | No | No | required parameter | N/A | N/A | The post ID |
| $member_id | ?MEMBER | No | No | Null | N/A | N/A | The member doing the action (null: current member) |
Preview
Code (PHP)
/**
* Delete a Wiki+ post.
*
* @param AUTO_LINK $post_id The post ID
* @param ?MEMBER $member_id The member doing the action (null: current member)
*/
function wiki_delete_post(int $post_id, ?int $member_id = null)
* Delete a Wiki+ post.
*
* @param AUTO_LINK $post_id The post ID
* @param ?MEMBER $member_id The member doing the action (null: current member)
*/
function wiki_delete_post(int $post_id, ?int $member_id = null)

