|
@@ -222,7 +222,6 @@ discard block |
|
|
block discarded – undo |
|
222
|
222
|
* |
|
223
|
223
|
* @since 1.5.1 |
|
224
|
224
|
* @param array $visibility_caps Array of capabilities to display in field dropdown. |
|
225
|
|
- * @param string $field_type Type of field options to render (`field` or `widget`) |
|
226
|
225
|
* @param string $template_id Table slug |
|
227
|
226
|
* @param float $field_id GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by` |
|
228
|
227
|
* @param string $context What context are we in? Example: `single` or `directory` |
|
@@ -651,7 +650,7 @@ discard block |
|
|
block discarded – undo |
|
651
|
650
|
* |
|
652
|
651
|
* @param array $entry Gravity Forms entry array |
|
653
|
652
|
* @param array $field Field settings (optional) |
|
654
|
|
- * @param int|\GV\View $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional) |
|
|
653
|
+ * @param integer $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional) |
|
655
|
654
|
* @return bool |
|
656
|
655
|
*/ |
|
657
|
656
|
public static function check_user_cap_delete_entry( $entry, $field = array(), $view = 0 ) { |
Please login to merge, or discard this patch.