prefix = get_xoops_prefix(); $xoops_db->tables = array('modules', 'newblocks', 'users'); add_action('admin_menu', array(&$xpessme, 'add_option_page')); add_action('admin_head', array(&$xpessme, 'add_admin_head')); add_filter("upload_dir",array(&$xpessme, 'xpress_upload_filter'), 1); // Change wp-include/wp_upload_dir() if (!$xpressme->is_save_post_revision){ remove_action( 'pre_post_update', 'wp_save_post_revision' ); // Not Save Post Revision } add_action("comment_post", "block_cache_refresh"); add_action("edit_comment", "block_cache_refresh"); add_action("delete_comment","block_cache_refresh"); add_action("delete_post", "block_cache_refresh"); add_action("publish_post", "block_cache_refresh"); add_action("edit_post", "block_cache_refresh"); add_action("private_to_published", "block_cache_refresh"); add_action("wp_set_comment_status" , "block_cache_refresh"); add_action("the_content", "set_post_views_count"); //require_once('../include/custom_functions.php'); ?>