-
Notifications
You must be signed in to change notification settings - Fork 16
mc_input_defaults
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
add_filter(
'mc_input_defaults',
function( array $string_list ) {
// Your code here.
return $string_list;
}
);-
array$string_list
apply_filters(
'mc_input_defaults',
array(
'event_short' => 'on',
'event_desc' => 'on',
'event_category' => 'on',
'event_image' => 'on',
'event_link' => 'on',
'event_recurs' => 'on',
'event_open' => 'on',
'event_location' => 'on',
'event_access' => 'on',
'event_host' => 'on',
)
)Replace the list footer for upcoming events lists. Default value </ul></div>.
add_filter(
'mc_upcoming_events_footer',
function( string $header ) {
// Your code here.
return $header;
}
);-
string$headerExisting upcoming events footer HTML.
string List header HTML.
apply_filters( 'mc_upcoming_events_footer', $footer )