{"id":3904,"date":"2008-10-27T09:07:33","date_gmt":"2008-10-27T09:07:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-development-utilities\/"},"modified":"2008-11-13T14:03:29","modified_gmt":"2008-11-13T14:03:29","slug":"wp-development-utilities","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-development-utilities\/","author":1234113,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6","stable_tag":"trunk","tested":"2.6.3","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"WP Development Utilities","header_author":"Fabio Cicerchia","header_description":"","assets_banners_color":"","last_updated":"2008-11-13 14:03:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.fabiocicerchia.it\/projects\/wp-development-utilities\/","header_author_uri":"http:\/\/www.fabiocicerchia.it","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2355,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.4","1.5"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2985,734,4351],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-3904","plugin","type-plugin","status-publish","hentry","plugin_tags-dev","plugin_tags-development","plugin_tags-utilities","plugin_committers-phakko"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-development-utilities.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This script is useful during the development of WordPress, because will extend with a set of functions.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>class <code>WP_Dev_Utilities<\/code>:<\/p>\n\n<ul>\n    <li>_debug() - A function to print variable only if the user logged as administrator<\/li>\n    <li>_retrieve_user_data() - Retrive user data informations only if user is logged in<\/li>\n    <li>count_num_pages_post($id) - Returns the number of pages of a post<\/li>\n    <li>get_current_execution_time($precision = 3) - Get the current execution time<\/li>\n    <li>get_logged_username() - Returns the name of the user logged on<\/li>\n    <li>get_post_content_from_id($id) - Return the content of the post from his id<\/li>\n    <li>get_post_content_from_permalink($permalink) - Return the contents of the post permalink<\/li>\n    <li>get_post_id_from_permalink($permalink) - Return the id of the post permalink<\/li>\n    <li>is_administrator() - Check if logged user has the administrator privileges<\/li>\n    <li>get_web_browser($shortname = false, $uppercase = false) - Returns the user's browser name<\/li>\n    <li>get_web_server($uppercase = false) - Returns the web server is use<\/li>\n    <li>get_wp_version() - Get the current wordpress version<\/li>\n    <li>get_tag_slug($title) - Get the tag slug from tag title<\/li>\n    <li>get_current_tag_slug($title) - Get the tag slug from the current tag title<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Follow the below instruction for the installation of this plugin.<\/p>\n\n<ol>\n<li>Upload <code>wp-dev-utilities.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the functions wherever you need (use the <code>$wpdu<\/code> variable).<\/li>\n<\/ol>","raw_excerpt":"Extends the template tags with more functions that are very useful.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3904"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/phakko"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3904"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3904"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3904"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3904"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3904"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}