-
Notifications
You must be signed in to change notification settings - Fork 16
mc_output_is_visible
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Filter whether any given piece of information should be output.
add_filter(
'mc_output_is_visible',
function(
bool $return,
string $feature,
string $type,
object|boolean $event
) {
// Your code here.
return $return;
},
10,
4
);-
bool$returnShould this piece of data be output. -
string$featureFeature key. -
string$typeType of view. -
object|boolean$eventEvent object if in event context.
bool
apply_filters( 'mc_output_is_visible', $return, $feature, $type, $event )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 )