Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Suspending user accounts

@danbp

Participant

Do you use open and closing php tags ?

A bp-custom.php file must contain one opening and one closing tag. And like any php file, without any blank line at begin and end of file. Here the one i’m using since years.

<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
//////////////////////////////// - custom stuff start here - /////////////////////////////////

function one() {
 ....
}

function whatever() {
...
}

//////// end of custom stuff /////////////////
?>
Skip to toolbar