=== WP Development Utilities ===
Contributors: Cicerchia Fabio
Tags: utilities, dev, development
Requires at least: 2.0.2
Tested up to: 2.6.3
Stable tag: 4.3
Extends the template tags with more functions that are very useful.
== Description ==
This script is useful during the development of WordPress, because will extend with a set of functions.
These are functions implemented in version 1.4 of WP Development Utilities
- get_post_id_from_permalink($permalink) - Return the id of the post permalink
- get_post_content_from_permalink($permalink) - Return the contents of the post permalink
- get_post_content_from_id($id) - Return the content of the post from his id
- get_logged_username() - Returns the name of the user logged on
- is_administrator() - Check if logged user has the administrator privileges
- _debug($variable, $exit = true, $use_printf = false) - A function to print variable only if the user logged as administrator
- count_num_pages_post($id) - Returns the number of pages of a post
== 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 `$wp_dev_utilities` variable).