Skip to main content

Filter: gravityview/fields/fileupload/link_content

Modify the link text (defaults to the file name).

Parameters

NameTypeDescription
$contentstringThe existing anchor content. Could be <img> tag, audio/video embed, or the file name.
$field_compatarrayCurrent GravityView field array.
$context\Template_ContextThe context.

Since

  • 1.7
  • 2.0: Added $context parameter.

Source

Defined in includes/fields/class-gravityview-field-fileupload.php at line 445