PHP global variables used throughout WordPress Core.
-
$blog_id
Type: integer
Set in:
wp-settings.php
🔍Default value:
1
Description: Current site ID.
-
$required_mysql_version
Type: string
Set in:
wp-settings.php
🔍Description: Holds the required MySQL version.
-
$required_php_version
Type: string
Set in:
wp-settings.php
🔍Description: Holds the required PHP version.
-
$tinymce_version
Type: string
Set in:
wp-settings.php
🔍Description: Holds the TinyMCE version.
-
$wp_db_version
Type: string
Set in:
wp-settings.php
🔍Description: Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
-
$wp_local_package
Type: string
Set in:
wp-settings.php
🔍 -
$table_prefix
Type: string
Set in:
wp-config-sample.php
🔍Default value:
'wp_'
Description: WordPress database table prefix. Must only contain numbers, letters, and underscores.
-
$wp_version
Type: string
Set in:
wp-settings.php
🔍Description: The WordPress version string.