PHP Classes

File: bt-include/default-filters.php

Recommend this page to a friend!
  Classes of Michael Dale   Bluetrait   bt-include/default-filters.php   Download  
File: bt-include/default-filters.php
Role: Auxiliary script
Content type: text/plain
Description: Default Plugin Filters File
Class: Bluetrait
A multi-user blog system
Author: By
Last change:
Date: 16 years ago
Size: 805 bytes
 

Contents

Class file image Download
<?php
/*
    Bluetrait 2.0 Default Filters
    Michael Dale Copyright 2008
*/
if (!defined('BT_ROOT')) exit;

bt_add_content_filter(BT_PLUGIN_NAME, 'post_title', 'bt_htmlentities');
bt_add_content_filter(BT_PLUGIN_NAME, 'post_body', 'bt_filter_kses_html');
bt_add_content_filter(BT_PLUGIN_NAME, 'post_body', 'bt_autop');

bt_add_content_filter(BT_PLUGIN_NAME, 'content_title', 'bt_htmlentities');
bt_add_content_filter(BT_PLUGIN_NAME, 'content_body', 'bt_filter_kses_html');
bt_add_content_filter(BT_PLUGIN_NAME, 'content_body', 'bt_autop');

bt_add_content_filter(BT_PLUGIN_NAME, 'comment_body', 'bt_filter_kses_html_comments');
bt_add_content_filter(BT_PLUGIN_NAME, 'comment_body', 'bt_autop');

bt_add_content_filter(BT_PLUGIN_NAME, 'event_description', 'bt_filter_kses_html_events');

?>