\n"; $head .= "\n"; echo $head; } /* * * Main function * */ function add_live_comment_preview($label) { global $live_comment_preview_path; if( bb_is_user_logged_in() ){ echo "
"; } } /* * * Add header content * */ add_action('bb_head', 'live_comment_preview_header'); ?>