Codex

Function Reference/wp unregister GLOBALS

Contents

Description

If register_globals is on, turn it off. Function will not unset values for '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', and 'table_prefix'.

Note: this will also disable PHP sessions if register_globals was on.

Usage

<?php wp_unregister_GLOBALS() ?>

Parameters

none

Return Values

null (null) 
Will return null if register_globals PHP directive was disabled.

Notes

Change Log

Source File

wp_unregister_GLOBALS() is located in wp-includes/load.php.

Related

See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.