This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

BBP_Topics_Admin::bail()

Should we bail out of this method?

Description

Return

(boolean)

Source

File: bp-forums/admin/topics.php

	private function bail() {
		if ( !isset( get_current_screen()->post_type ) || ( $this->post_type !== get_current_screen()->post_type ) )
			return true;

		return false;
	}

Changelog

Changelog
Version Description
bbPress (r4067) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.