$login_result
$login_result : integer
Type of site visit. ( 0=Failed, 1=Success, 2=Unlogged, 3=Robot ).
Description: Plugin core. Registers site visits. Other service functions.
wms7_rest_forbidden(null|true $result) : \WP_Error|null|true
Forbidden REST API for all categories of users, except: administrator, editor.
null|true | $result | Used to pass a WP_Error from an authentication method back to the API. |
Return true to indicate that the authentication method was used, and it succeeded.