apply_filters( 'mc_api_can_edit_event', $return, $event ) → {bool}
Filter permissions to edit an event via the My Calendar Pro REST API..
Parameters:
Name | Type | Description |
---|---|---|
$return |
bool | True if API user can edit this event. |
$event |
object | int | The ID of the current event or an event object. |
- Source:
Returns:
- Type
- bool