Filters expect the initial parameter to be returned.
So a ‘do nothing’ example would need to at minimum be:
add_filter( ‘gform_pre_render_1’, ‘observation_form_setup’, 10);
function observation_form_setup( $form ){
//do nothing
return $form
}
Filters expect the initial parameter to be returned.
So a ‘do nothing’ example would need to at minimum be:
add_filter( ‘gform_pre_render_1’, ‘observation_form_setup’, 10);
function observation_form_setup( $form ){
//do nothing
return $form
}