class Rest_ControllerRegisters forum REST routes.
class final
- Full name
Kernowdev\ClanbiteForums\Rest\Rest_Controller
Constants
| Name | Value | Description |
|---|---|---|
NAMESPACE | 'clanbite-forums/v1' |
Methods
add_moderator()create_content_report()Logged-in user reports topic or reply content.create_forum()create_reply()create_topic()delete_forum()delete_reply()delete_topic()follow_topic()forum_read_error()Why the current viewer cannot read a forum, or null when they can (shared with the Social Kit reactions integration).get_forum_topics()get_forums()get_moderators()get_topic_by_slugs()Resolve a topic by forum slug + topic slug (deep links without numeric ID).get_topic_replies()get_topic()handle_moderation_report()Apply moderator actions to a pending report.list_moderation_reports()Paginated reports for moderators / site forum managers.moderate_reply()moderate_topic()reactor_author()A reactor as the board describes any author (shared reactions service callback).register_routes()Register routes.remove_moderator()toggle_reply_reaction()Toggle a reaction on a reply.toggle_topic_reaction()Toggle a reaction on the topic opening post.unfollow_topic()update_forum()update_reply()update_topic()upload_forum_image()Handle multipart image upload for topic/reply bodies (HTML).
Defined in inc/Rest/Rest_Controller.php
Changelog
| Version | Description |
|---|---|
| 1.3.5 | Updated. |