mc_filter_event_controls - joedolson/my-calendar GitHub Wiki
Filter array of controls shown on event editor.
Auto-generated Example
add_filter(
'mc_filter_event_controls',
function(
array $controls,
string $mode,
object $event,
string $position
) {
// Your code here.
return $controls;
},
10,
4
);
Parameters
array$controlsArray of HTML strings to output in header and footer of event editor.string$modeContext of event editing page.object$eventEvent data.string$positionlocation of form.
Returns
array
Files
apply_filters( 'mc_filter_event_controls', $controls, $mode, $event, $position = 'header' )