Clanbite clanbite/v1

POST /wp-json/clanbite/v1/notifications/(?P<id>[\d]+)/read

POST

Mark notification as read.

Access is checked by notifications_access_permissions_check().

ArgumentTypeDefaultDescription
id requiredinteger

Handled by mark_read()

Example

curl -X POST 'https://example.com/wp-json/clanbite/v1/notifications/(?P<id>[\d]+)/read'

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