<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Add a submenu item that shows specific form entries to the WP admin menu?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/add-a-submenu-item-that-shows-specific-form-entries-to-the-wp-admin-menu</link>
		<description>Gravity Support Forums Topic: Add a submenu item that shows specific form entries to the WP admin menu?</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 23:58:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/add-a-submenu-item-that-shows-specific-form-entries-to-the-wp-admin-menu" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Add a submenu item that shows specific form entries to the WP admin menu?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-a-submenu-item-that-shows-specific-form-entries-to-the-wp-admin-menu#post-93253</link>
			<pubDate>Mon, 19 Nov 2012 23:00:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">93253@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for updating this topic.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brasofilo on "Add a submenu item that shows specific form entries to the WP admin menu?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-a-submenu-item-that-shows-specific-form-entries-to-the-wp-admin-menu#post-93226</link>
			<pubDate>Mon, 19 Nov 2012 22:07:19 +0000</pubDate>
			<dc:creator>brasofilo</dc:creator>
			<guid isPermaLink="false">93226@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was able to solve this as follows:&#60;/p&#62;
&#60;p&#62;First, created a role &#60;u&#62;basic_contributor&#60;/u&#62; with &#60;u&#62;gravityforms_view_entries&#60;/u&#62; capability.&#60;/p&#62;
&#60;p&#62;And used this code, see comments.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;admin_head&#38;#39;, &#38;#39;gf_single_form_entries&#38;#39; );

function gf_single_form_entries()
{
	global $pagenow,$submenu;

	// Remove submenu items Entries and Help
	unset( $submenu[&#38;#39;gf_entries&#38;#39;][0], $submenu[&#38;#39;gf_entries&#38;#39;][1] );

	// Check if correct page and capability
	if(
		&#38;#39;admin.php&#38;#39; != $pagenow
		or &#38;#39;gf_entries&#38;#39; != $_GET[&#38;#39;page&#38;#39;]
		or !current_user_can( &#38;#39;basic_contributor&#38;#39; )
		)
		return;

	// If not our Form ID, redirect to it
	if( $_GET[&#38;#39;id&#38;#39;] != 5 )
	{
		wp_redirect( &#38;#39;/wp-admin/admin.php?page=gf_entries&#38;amp;id=5&#38;#39; );
		exit;
	}

	// CSS to hide the Switch dropdown field, Bulk Actions field and button, and Checkbox column
	?&#38;gt;
	&#38;lt;style&#38;gt;#gf_form_toolbar, div.tablenav, th.check-column input {display:none}&#38;lt;/style&#38;gt;
	&#38;lt;?php
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Screenshots: &#60;a href=&#34;http://cl.ly/image/0G3t370x2d3q&#34; rel=&#34;nofollow&#34;&#62;before&#60;/a&#62; and &#60;a href=&#34;http://cl.ly/image/0K1c1G262p1f&#34; rel=&#34;nofollow&#34;&#62;after&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Add a submenu item that shows specific form entries to the WP admin menu?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-a-submenu-item-that-shows-specific-form-entries-to-the-wp-admin-menu#post-8725</link>
			<pubDate>Wed, 18 Aug 2010 10:07:57 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">8725@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's not currently possible to restrict entries for a specific form with changing the core Gravity Forms code, which we don't recommend as it makes upgrading problematic.  That would require role management capabilities within Gravity Forms itself and that doesn't currently exist.  Right now we only restrict by primary functionality.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick Ciske on "Add a submenu item that shows specific form entries to the WP admin menu?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-a-submenu-item-that-shows-specific-form-entries-to-the-wp-admin-menu#post-8696</link>
			<pubDate>Tue, 17 Aug 2010 16:58:04 +0000</pubDate>
			<dc:creator>Nick Ciske</dc:creator>
			<guid isPermaLink="false">8696@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;And, I just found this wasn't completely working - using the drop down to filter the form entries shows an error...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick Ciske on "Add a submenu item that shows specific form entries to the WP admin menu?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-a-submenu-item-that-shows-specific-form-entries-to-the-wp-admin-menu#post-8694</link>
			<pubDate>Tue, 17 Aug 2010 16:17:25 +0000</pubDate>
			<dc:creator>Nick Ciske</dc:creator>
			<guid isPermaLink="false">8694@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;My client wants to hide most of the functionality of GF for their 'editor' users but give them access to the entries. I was able to restrict access using the Members plugin, and figured out how to add a menu item, but they'd specifically like it to show just entries for a specific form (id=4).&#60;/p&#62;
&#60;p&#62;Here's the code that's working to add a sub-menu to the Media menu that links to all entries. Is there any way to specify a form id in the callback here?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;admin_menu&#38;#39;, &#38;#39;my_add_pages&#38;#39;);

function my_add_pages(){
add_submenu_page(&#38;#39;upload.php&#38;#39;, __(&#38;quot;Entries&#38;quot;, &#38;quot;gravityforms&#38;quot;), __(&#38;quot;Entries&#38;quot;, &#38;quot;gravityforms&#38;quot;), &#38;quot;gravityforms_view_entries&#38;quot;, &#38;quot;my_gf_entries&#38;quot;, array(&#38;quot;RGForms&#38;quot;, &#38;quot;all_leads_page&#38;quot;));
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
