apply_filters( 'mc_display_host', $user_ID, $context ) → {int}
Filter the host parameter for a My Calendar view if set as 'current'. Default current user ID.
Parameters:
Name | Type | Description |
---|---|---|
$user_ID |
int | Logged-in user ID. |
$context |
string | 'main' to indicate the |
- Source:
Returns:
Valid author ID.
- Type
- int