Clanbite

notifications_access_permissions_check( \WP_REST_Request|null $request = null ): bool|WP_Error

Permission callback: authenticated users only (REST cookie/nonce or Application Passwords).

Uses current_user_can() per WordPress REST API guidance; read is granted to all standard roles.

public

Class: Kernowdev\Clanbite\Extensions\Notification\Notification_Rest_Controller

Parameters

$request (\WP_REST_Request|null) Optional

Request instance (unused).

Default: null

Returns

bool|WP_Error

Defined in inc/extensions/notifications/class-notification-rest-controller.php