User Frontend Submit PRO – Hooks List

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

add_action('acf_fb_before_render_form', 'message_before_form_rendered');
function message_before_form_rendered(){
    echo '<div class="custom_message">Welcome</div>'; 
}

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

add_action('acf_fb_after_render_form', 'message_after_form_rendered');
function message_after_form_rendered(){
    echo '<div class="custom_message">Good bye!</div>'; 
}

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

add_action('acf_fb_before_render_purchased_package', 'message_before_package_rendered');
function message_before_package_rendered(){
    echo '<div class="custom_message">Welcome!</div>'; 
}

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

add_action('acf_fb_after_render_purchased_package', 'message_after_package_rendered');
function message_after_package_rendered(){
    echo '<div class="custom_message">Good bye!</div>'; 
}

Leave a Comment

Your email address will not be published.

You may use these HTML tags and attributes: <a href=""> <abbr> <acronym> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Send a Message