WordPress at a glance
function is not described

get_bb_file_loc() WPSCache 1.0

No Hooks.

Return

null. Nothing.

Usage

get_bb_file_loc();

Code of get_bb_file_loc() WPSCache 1.7.3

<?php
function get_bb_file_loc() {
	global $cache_badbehaviour_file;
	if ( $cache_badbehaviour_file ) {
		return $cache_badbehaviour_file;
	}

	if ( file_exists( WP_CONTENT_DIR . '/plugins/bad-behavior/bad-behavior-generic.php' ) ) {
		$bbfile = WP_CONTENT_DIR . '/plugins/bad-behavior/bad-behavior-generic.php';
	} elseif ( file_exists( WP_CONTENT_DIR . '/plugins/Bad-Behavior/bad-behavior-generic.php' ) ) {
		$bbfile = WP_CONTENT_DIR . '/plugins/Bad-Behavior/bad-behavior-generic.php';
	} else {
		$bbfile = false;
	}
	return $bbfile;
}