-
Notifications
You must be signed in to change notification settings - Fork 16
mc_custom_user_select
github-actions[bot] edited this page May 15, 2026
·
4 revisions
Filter the list of users used to select authors or hosts.
add_filter(
'mc_custom_user_select',
function(
{string} $output,
{string|int} $selected,
{string} $group,
{string} $return
) {
// Your code here.
return $output;
},
10,
4
);-
{string}$outputOutput that should replace data. -
{string|int}$selectedThe currently selected user. -
{string}$groupWhether this function is returning hosts or authors. -
{string}$returnWhether this should return fully realized values or an array of data.
{string|array}
apply_filters( 'mc_custom_user_select', '', $selected, $group, $return_type )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 )