<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WpFunc &#187; dashboard</title>
	<atom:link href="http://wpfunc.com/tag/dashboard/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Sun, 06 May 2012 02:21:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Remove menus in Dashboard!</title>
		<link>http://wpfunc.com/wordpress/remove-menus-in-dashboard.html</link>
		<comments>http://wpfunc.com/wordpress/remove-menus-in-dashboard.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 16:31:57 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[remove menu]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=393</guid>
		<description><![CDATA[You can remove WordPress Dashboard&#8217;s menus with easy code. Just install this code into your theme&#8217;s functions.php and use like this. You can use this code for your clients Dashoards. Lets Begin&#8230; Here is the code;]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can remove WordPress Dashboard&#8217;s menus with easy code. Just install this code into your theme&#8217;s functions.php and use like this. You can use this code for your clients Dashoards. Lets Begin&#8230;<span id="more-393"></span></p>
<h3>Here is the code;</h3>
<pre class="brush: php; title: ; notranslate">function remove_menus () {
global $menu;
	$restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), __('Tools'), __('Users'), __('Settings'), __('Comments'), __('Plugins'));
	end ($menu);
	while (prev($menu)){
		$value = explode(' ',$menu[key($menu)][0]);
		if(in_array($value[0] != NULL?$value[0]:&quot;&quot; , $restricted)){unset($menu[key($menu)]);}
	}
}
add_action('admin_menu', 'remove_menus');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/remove-menus-in-dashboard.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

