How to show only entries created by the currently logged-in user
With Advanced Filtering, a View can list only the entries that the signed-in user created. Advanced Filtering is built into GravityView Pro. To turn it on or off, go to Plugins and click Features in the GravityView Pro row.
Note: To list the entries of one particular person, such as on a member’s page in a directory, embed a second View on that member’s Single Entry page. Filter it with the search field created_by, operator is and value {created_by:ID}. How to embed a View inside another View to show related entries has the steps.
Turn on the View setting #
- Edit the View and click the View Settings tab in the Settings box.
- Turn on Show only entries created by the currently logged-in user.
- Click Update.

When you save the View, the setting adds the condition Created By is Currently Logged-in User to the View’s Advanced Filter, on the Filter & Sort tab. Turning the setting off and saving again removes that condition.
You can also add the condition on the Filter & Sort tab yourself and combine it with other conditions.
Each signed-in user now sees only the entries they created. A visitor who isn’t signed in gets the View’s No Entries Behavior, which by default is the message “No entries match your request.”

Let administrators see every entry #
To give administrators every entry while everyone else sees only their own, open the Filter & Sort tab and change the value of the Created By condition to Currently Logged-in User (Disabled for Administrators). Then click Update.

The condition then doesn’t apply to users who have one of these capabilities: manage_options, gravityforms_view_entries or gravityview_edit_others_entries. By default, Administrators have at least one of them, and so do Editors, who can edit other users’ entries in GravityView. Read more about capabilities in GravityView.
Let a custom role see every entry
To let another role see every entry as well, add one of its capabilities to that list with the gk/query-filters/admin-capabilities filter. The filter receives the list of capabilities and, as a second argument, the form.
/**
* Lets users with one more capability see every entry in Views that use
* "Currently Logged-in User (Disabled for Administrators)".
*
* @param string[] $capabilities Capabilities that count as an administrator.
*
* @return string[] The list with your capability added.
*/
add_filter( 'gk/query-filters/admin-capabilities', function ( $capabilities ) {
$capabilities[] = 'your_custom_capability';
return $capabilities;
} );Replace your_custom_capability with a capability your role has.
Note: To add this code to your site, see Adding custom PHP code snippets to your website.
Entries submitted by visitors #
An entry submitted by someone who wasn’t signed in has no creator, so the condition leaves it out of everyone’s View. With Currently Logged-in User (Disabled for Administrators), it shows only to the users the condition doesn’t apply to, the ones who have a capability from the list above.
