display all entries for administrator
-
Hi,
First congratulations for this very useful plugin. It’s great.
I had problems to display all entries as administrator when “entry created” is selected. For this case, I’ve modified the file gravity-forms-sticky-list/class-sticky-list.php like that :
********************
…
$user = wp_get_current_user();if(in_array( “administrator”, (array) $user->roles )) {
$search_criteria[“field_filters”][] = array(“key” => “status”, “value” => “active”);
$entries = GFAPI::get_entries($form_id, $search_criteria, $sorting, $paging);}elseif($show_entries_to === “creator”){
…
********************I don’t know if there are others issues. Tell me back.
Thanks
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘display all entries for administrator’ is closed to new replies.