Skip to content

Instantly share code, notes, and snippets.

  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save spivurno/ebbec9fa85cac9a314617719ef9bb6f1 to your computer and use it in GitHub Desktop.
Gravity Wiz // Gravity Forms // Hide Field on Entry Detail
<?php
/**
* Gravity Wiz // Gravity Forms // Hide Field on Entry Detail
* http://gravitywiz.com/
*/
// update "123" to your form ID; "6" to your field ID.
add_filter( 'gform_field_content_123_6', function ( $field_content, $field ) {
if ( $field->is_entry_detail() ) {
$field_content = '';
}
return $field_content;
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment