Hook List of Frontend Submit PRO – WordPress User Frontend Plugin

This is the place where you can see all the hook and filter that you can use to add your custom actions or modify the data.

Filters

acf_form_types

Since version 2.5: register new custom form type

Param

$form_types (required): all the form types are defined via this variable, your custom form type will have slug and text

Example Code

Register new custom form type for creating a contact in AgileCRM.

acf_currency_options

Since version 2.5: register new currency

Param

$currency_options (required): all the currency via this variable, your custom form type will have currency code (ISO) and Currency name

Example Code

Add new currency code of Vietnam currency

acf_frontend_post_html_before_fields_form

Since version 2.5: add the custom field to your demand before form

Param

$html_before_fields (required): all the custom field before form’s field is rendered.

Example Code

Register new custom form type for creating a contact in AgileCRM.

Actions

acf_fb_before_render_form

Since version 2.5: Add HTML or do your own custom action, before the frontend post form is rendered.

Example Code

Add an HTML message before the form is rendered

acf_fb_after_render_form

Since version 2.5: Add HTML or do your own custom action, after the frontend post form is rendered.

Example Code

Add an HTML message before the form is rendered

acf_fb_before_render_purchased_package

Since version 2.5: Add HTML or do your own custom action, before the user’s package shortcode is rendered.

Example Code

Add an HTML message before the form is rendered

acf_fb_after_render_purchased_package

Since version 2.5: Add HTML or do your own custom action, before the user’s package shortcode is rendered.

Example Code

Add an HTML message before the form is rendered

 

Was this article helpful?

Related Articles

Leave A Comment?

5 + 4 =