WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Development Utilities

Extends the template tags with more functions that are very useful.

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

Requires: 2.0.2 or higher
Compatible up to: 2.6.3
Last Updated: 2008-11-13
Downloads: 1,272

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.