-
Notifications
You must be signed in to change notification settings - Fork 16
mc_custom_content_editor
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Filter the editor to use a custom content editor field.
add_filter(
'mc_custom_content_editor',
function(
string|bool $custom_editor,
string $value,
object $data
) {
// Your code here.
return $custom_editor;
},
10,
3
);-
string|bool$custom_editorBool to use default editor, otherwise the HTML output for your editor. -
string$valueEvent description. -
object$dataEvent object.
string|bool
apply_filters( 'mc_custom_content_editor', false, $value, $data )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 )