Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mandiwise/1409fe8a5372616828be to your computer and use it in GitHub Desktop.
Save mandiwise/1409fe8a5372616828be to your computer and use it in GitHub Desktop.
Using gform_field_value_{param}
function my_city_population_function( $value ){
return 'Vancouver';
}
add_filter( 'gform_field_value_my_city', 'my_city_population_function' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment