| [ Index ] |
PHP Cross Reference of Wordpress 2.9.1 |
[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.
| File Size: | 739 lines (23 kb) |
| Included or required: | 1 time |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
| 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 |
| wp_clone( $object ) X-Ref |
| Copy an object. Returns a cloned copy of an object. param: object $object The object to clone return: object The cloned object |
| is_admin() X-Ref |
| Whether the current request is in WordPress admin Panel Does not inform on whether the user is an admin! Use capability checks to tell if the user should be accessing a section or not. return: bool True if inside WordPress administration pages. |
| shutdown_action_hook() X-Ref |
| Runs just before PHP shuts down execution. |
| Generated: Fri Jan 8 00:19:48 2010 | Cross-referenced by PHPXref 0.7 |