1. Home
  2. Docs
  3. Form Field Types
  4. Action Hook

Action Hook

Action Hooks are a great tool to leverage when building a WordPress website, and they are used to perform functions in specific locations of a WordPress theme or plugin. weForms allows users to use action hooks as an easy way for them to modify the output of the contact form plugin, or to add their own custom code on the back end.

To accomplish this, simply drag and drop the Action Hook Field type to add it to your form.

Add an action hook field to your WordPress form using weForms

Action Hook for weForms Field Options

Action hook configuration on weForms

Add your Custom Hook Name under the Hook Name field. This will appear in the frontend also.

Was this article helpful to you? Yes No 1