| [ Index ] |
PHP Cross Reference of WordPress (latest release) |
[Source view] [Print] [Project Stats]
Used to setup and fix common variables and include the WordPress procedural and class library. You should not have to change this file and allows for some configuration in wp-config.php.
| wp_unregister_GLOBALS() X-Ref |
| Turn register globals off. return: null Will return null if register_globals PHP directive was disabled |
| timer_start() X-Ref |
| PHP 4 standard microtime start capture. return: bool Always returns true. |
| timer_stop($display = 0, $precision = 3) X-Ref |
| Return and/or display the time from the page start to when function is called. You can get the results and print them by doing: <code> $nTimePageTookToExecute = timer_stop(); echo $nTimePageTookToExecute; </code> Or instead, you can do: <code> timer_stop(1); </code> which will do what the above does. If you need the result, you can assign it to a variable, but most cases, you only need to echo it. param: int $display Use '0' or null to not echo anything and 1 to echo the total time param: int $precision The amount of digits from the right of the decimal to display. Default is 3. return: float The "second.microsecond" finished time calculation |
| shutdown_action_hook() X-Ref |
| Runs just before PHP shuts down execution. |
| Generated: Sat Jan 3 08:40:14 2009 | Cross-referenced by PHPXref 0.7 |