mc_gcal_location - joedolson/my-calendar GitHub Wiki
Filter location parameter added to Google Calendar link. Default &location=$location. Return value needs to be URL encoded.
Auto-generated Example
add_filter(
'mc_gcal_location',
function(
string $param,
string $location
) {
// Your code here.
return $param;
},
10,
2
);
Parameters
string$paramEncoded parameter.string$locationUnencoded original stringified location..
Returns
string Encoded parameter.
Files
apply_filters( 'mc_gcal_location', '&location=' . urlencode( trim( $location ) ), $location )