Title: WP Development Utilities
Author: Fabio Cicerchia
Published: <strong>October 27, 2008</strong>
Last modified: November 13, 2008

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-development-utilities.svg)

# WP Development Utilities

 By [Fabio Cicerchia](https://profiles.wordpress.org/phakko/)

[Download](https://downloads.wordpress.org/plugin/wp-development-utilities.zip)

 * [Details](https://wordpress.org/plugins/wp-development-utilities/#description)
 * [Reviews](https://wordpress.org/plugins/wp-development-utilities/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-development-utilities/#installation)
 * [Development](https://wordpress.org/plugins/wp-development-utilities/#developers)

 [Support](https://wordpress.org/support/plugin/wp-development-utilities/)

## Description

This script is useful during the development of WordPress, because will extend with
a set of functions.

### Usage

class `WP_Dev_Utilities`:

 * _debug() – A function to print variable only if the user logged as administrator
 * _retrieve_user_data() – Retrive user data informations only if user is logged
   in
 * count_num_pages_post($id) – Returns the number of pages of a post
 * get_current_execution_time($precision = 3) – Get the current execution time
 * get_logged_username() – Returns the name of the user logged on
 * get_post_content_from_id($id) – Return the content of the post from his id
 * get_post_content_from_permalink($permalink) – Return the contents of the post
   permalink
 * get_post_id_from_permalink($permalink) – Return the id of the post permalink
 * is_administrator() – Check if logged user has the administrator privileges
 * get_web_browser($shortname = false, $uppercase = false) – Returns the user’s 
   browser name
 * get_web_server($uppercase = false) – Returns the web server is use
 * get_wp_version() – Get the current wordpress version
 * get_tag_slug($title) – Get the tag slug from tag title
 * get_current_tag_slug($title) – Get the tag slug from the current tag title

## Installation

Follow the below instruction for the installation of this plugin.

 1. Upload `wp-dev-utilities.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use the functions wherever you need (use the `$wpdu` variable).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP Development Utilities” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Fabio Cicerchia ](https://profiles.wordpress.org/phakko/)

[Translate “WP Development Utilities” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-development-utilities)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-development-utilities/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-development-utilities/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-development-utilities/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-development-utilities/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.6**
 *  Last updated **18 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 2.0.2 or higher **
 *  Tested up to **2.6.3**
 * Tags
 * [dev](https://wordpress.org/plugins/tags/dev/)[development](https://wordpress.org/plugins/tags/development/)
   [utilities](https://wordpress.org/plugins/tags/utilities/)
 *  [Advanced View](https://wordpress.org/plugins/wp-development-utilities/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-development-utilities/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-development-utilities/reviews/)

## Contributors

 *   [ Fabio Cicerchia ](https://profiles.wordpress.org/phakko/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-development-utilities/)