PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/ajax/entry.php +8 -0 2.9.1 → 2.14.0 View file →
@@ -18,8 +18,9 @@
18 18 $this->actions = [
19 19 /** Get entries with pagination */
20 20 'get_entries' => [
21 21 'callback' => [ $this, 'get_entries' ],
22 + 'capability' => 'ablocks_view_submissions',
22 23 'fields' => array(
23 24 'is_in_trash' => 'string', // yes/no; default: no
24 25 'search' => 'string', // name of form
25 26 'form_type' => 'string', // name of form
@@ -36,8 +37,9 @@
36 37 ],
37 38 /** Get single entry */
38 39 'get_entry' => [
39 40 'callback' => [ $this, 'get_entry' ],
41 + 'capability' => 'ablocks_view_submissions',
40 42 'fields' => array(
41 43 'entry_id' => 'integer', // int : entry id
42 44 )
43 45 ],
@@ -43,8 +45,9 @@
43 45 ],
44 46 /** Edit entry */
45 47 'edit_entry' => [
46 48 'callback' => [ $this, 'edit_entry' ],
49 + 'capability' => 'ablocks_view_submissions',
47 50 'fields' => array(
48 51 'entry_id' => 'integer', // int : entry id
49 52 'data' => 'array',
50 53 )
@@ -51,8 +54,9 @@
51 54 ],
52 55 /** Delete entries */
53 56 'delete_entries' => [
54 57 'callback' => [ $this, 'delete_entries' ],
58 + 'capability' => 'ablocks_view_submissions',
55 59 'fields' => array(
56 60 'entry_id_array' => 'array',
57 61 )
58 62 ],
@@ -58,8 +62,9 @@
58 62 ],
59 63 /** Mark entries as read */
60 64 'mark_entries_as_read' => [
61 65 'callback' => [ $this, 'mark_entries_as_read' ],
66 + 'capability' => 'ablocks_view_submissions',
62 67 'fields' => array(
63 68 'entry_id_array' => 'array',
64 69 )
65 70 ],
@@ -65,8 +70,9 @@
65 70 ],
66 71 /** Mark entries as unread */
67 72 'mark_entries_as_unread' => [
68 73 'callback' => [ $this, 'mark_entries_as_unread' ],
74 + 'capability' => 'ablocks_view_submissions',
69 75 'fields' => array(
70 76 'entry_id_array' => 'array',
71 77 )
72 78 ],
@@ -72,8 +78,9 @@
72 78 ],
73 79 /** Send one or more entries to trash */
74 80 'send_entries_to_trash' => [
75 81 'callback' => [ $this, 'send_entries_to_trash' ],
82 + 'capability' => 'ablocks_view_submissions',
76 83 'fields' => array(
77 84 'entry_id' => 'integer', // int : entry id
78 85 )
79 86 ],
@@ -79,8 +86,9 @@
79 86 ],
80 87 /** Send one or more entries to trash */
81 88 'restore_entries_from_trash' => [
82 89 'callback' => [ $this, 'restore_entries_from_trash' ],
90 + 'capability' => 'ablocks_view_submissions',
83 91 'fields' => array(
84 92 'entry_id' => 'integer', // int : entry id
85 93 )
86 94 ],