Viewing 3 replies - 1 through 3 (of 3 total)
  • hi,

    did you mean limiting html tags withing event details/notes? you can try to hook into em_event_output_placeholder filter and override #_EVENTNOTES – https://wp-events-plugin.com/tutorials/modifying-placeholder-default-information/ (replacing location with event)

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    whilst this doesn’t prevent html from being submitted, it does prevent the user from seeing the UI editor

    you’d have to go to yoursite.com/wp-admin/options.php and look for the option dbem_events_form_editor, set it to 0 and save

    otherwise, you’d need to hook into e.g. the em_events_get_post filter and modify the $EM_Event->event_description/post_content so it strips out html using the wpkses method.

    Thread Starter echoca

    (@echoca)

    Thanks I will look into these solutions. I have the editor off but can still post markup.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disallow HTML from front end event posting.’ is closed to new replies.