Clanbite Forums Since 1.3.5
forum_read_error( object $forum ): WP_Error|nullWhy the current viewer cannot read a forum, or null when they can (shared with the Social Kit reactions integration).
public
Class: Kernowdev\ClanbiteForums\Rest\Rest_Controller
Parameters
$forum(object) RequiredForum row.
Returns
WP_Error|null
Defined in inc/Rest/Rest_Controller.php
Changelog
| Version | Description |
|---|---|
| 1.3.5 | Introduced. |