cf_geo_autocomplete_rendered

Caldera Forms Geolocation Field Banner

This action fires after the geolocation field’s JavaScript is printed and only if a form with the geolocation field is on the page.

This action exposes one parameter:

  • $form This is an array that contains the form’s configuration

This action was added in version 2.1.0 of the add-on.

Where Does This Code Go?

When using WordPress hooks to customize Caldera Forms or other plugins you should not modify the plugin files, or you will lose your changes when you update the plugin. Instead you should create a small plugin to hold the custom code. It's easy, learn how here.

Technically you can add the custom code to your theme's functions.php, but then you will not be able to change your theme and keep these customizations.

Learn More