@@ -236,7 +236,6 @@ discard block |
||
| 236 | 236 | * |
| 237 | 237 | * @access public |
| 238 | 238 | * @param array $entry |
| 239 | - * @param array $field |
|
| 240 | 239 | * @return null|string |
| 241 | 240 | */ |
| 242 | 241 | public static function field_value( $entry, $field_settings, $format = 'html' ) { |
@@ -741,6 +740,9 @@ discard block |
||
| 741 | 740 | return $value; |
| 742 | 741 | } |
| 743 | 742 | |
| 743 | +/** |
|
| 744 | + * @param GV\Template_Context $context |
|
| 745 | + */ |
|
| 744 | 746 | function gv_directory_link( $post = NULL, $add_pagination = true, $context = null ) { |
| 745 | 747 | return GravityView_API::directory_link( $post, $add_pagination, $context ); |
| 746 | 748 | } |
@@ -1216,6 +1218,7 @@ discard block |
||
| 1216 | 1218 | * @param array $passed_args Associative array with field data. `field` and `form` are required. |
| 1217 | 1219 | * @since 2.0 |
| 1218 | 1220 | * @param \GV\Template_Context The template context. |
| 1221 | + * @param GV\Template_Context $context |
|
| 1219 | 1222 | * @return string Field output. If empty value and hide empty is true, return empty. |
| 1220 | 1223 | */ |
| 1221 | 1224 | function gravityview_field_output( $passed_args, $context = null ) { |