global_terms_enabled [ WordPress-Funktionen ]
global_terms_enabled ( Keine Parameter )
| Gibt zurück: |
|
| Definiert in: |
|
| Codex |
Ähnliche Funktionen: global_terms, install_global_terms, get_term_field, clean_term_cache, load_template
Whether global terms are enabled.
Quellcode
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;
}Beispiele [ wp-snippets.com ]
Top Google Suchergebnisse
- WordPress › Support » global_terms_enabled problem with slugs
I posted this problem in another area but have since discovered it is related to multisite and global_terms_enabled: There is no way to edit category, ...
wordpress.org - WordPress › Support » Tags — global_terms_enabled
Password (forgot?) Register · WordPress › Support » global_terms_enabled ... [ resolved] global_terms_enabled problem with slugs, 3, Andrea Rennick, 2 years ...
wordpress.org - global_terms_enabled | A HitchHackers guide through WordPress
Feb 12, 2011 ... Source code. function global_terms_enabled() { if ( ! is_multisite() ) return false; static $global_terms = null; if ( is_null( $global_terms ) ) { $filter ...
hitchhackerguide.com - global_terms_enabled - Adam Brown, BYU Political Science
Detailed information about every action hook and filter used in WordPress. Makes Plugin API easier to use. Lists appearance, file location, and deprecation data ...
adambrown.info
