Viewing 2 replies - 1 through 2 (of 2 total)
  • yes, you can try to modify template file at templates/forms/event-editor.php then see the line at around 77 and then maybe you can try to add custom jquery/javascript to strip all html tags e.g. regex

    to use templates: http://wp-events-plugin.com/documentation/using-template-files/

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    You’d need to use PHP to hook in and strip any html.

    you can do that using the wp_kses_data function

    this is pretty basic, but a starting point:

    function my_em_kses(){
      if ( !empty($_REQUEST['action']) && $_REQUEST['action'] == 'event_save' )
      $_REQUEST['content'] = wp_kses_data($_REQUEST['content']);
    }
    add_action('init','my_em_kses',1);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘disable html’ is closed to new replies.