mc_custom_content_editor - joedolson/my-calendar GitHub Wiki
Filter the editor to use a custom content editor field.
Auto-generated Example
add_filter(
'mc_custom_content_editor',
function(
string|bool $custom_editor,
string $value,
object $data
) {
// Your code here.
return $custom_editor;
},
10,
3
);
Parameters
string|bool$custom_editorBool to use default editor, otherwise the HTML output for your editor.string$valueEvent description.object$dataEvent object.
Returns
string|bool
Files
apply_filters( 'mc_custom_content_editor', false, $value, $data )