Switch language
wpseek on Twitter


A WordPress-centric search engine for devs and theme authors




global_terms_enabled [ ]

global_terms_enabled ( No parameters )
Returns:
  • (bool) True if multisite and global terms enabled
Defined at:
Codex



Whether global terms are enabled.

Source

function global_terms_enabled() {
	if ( ! is_multisite() )
		return false;

	static $global_terms = null;
	if ( is_null( $global_terms ) ) {
		$filter = apply_filters( 'global_terms_enabled', null );
		if ( ! is_null( $filter ) )
			$global_terms = (bool) $filter;
		else
			$global_terms = (bool) get_site_option( 'global_terms_enabled', false );
	}
	return $global_terms;
}

Top Google Search Results

More ...

User Note(s)