{"id":10441,"date":"2021-06-23T06:14:47","date_gmt":"2021-06-23T06:14:47","guid":{"rendered":"https:\/\/fluentforms.com\/?post_type=docs&#038;p=10441"},"modified":"2023-07-26T05:40:50","modified_gmt":"2023-07-26T05:40:50","password":"","slug":"fluentform_user_registration_before_start","status":"publish","type":"docs","link":"https:\/\/fluentforms.com\/docs\/fluentform_user_registration_before_start\/","title":{"rendered":"fluentform\/user_registration_before_start"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"0-description\">Description<\/h2>\n\n\n\n<p>This action runs before starting the user registration process on the user registration module.  You can use this action to do additional tasks during the user registration process.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php line-numbers\">\/*\n* Source Action\n*\/\ndo_action('fluentform\/user_registration_before_start', $feed, $entry, $form);<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-usage\">Usage<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php line-numbers\">add_action('fluentform\/user_registration_before_start', function ($feed, $entry, $form)\n{\n   \/\/ Do your stuffs here\n}, 10, 3);<\/code><\/pre>\n\n\n\n<p>This code should be placed in the&nbsp;<a href=\"http:\/\/codex.wordpress.org\/Theme_Development#Functions_File\" target=\"_blank\" rel=\"noopener\">functions.php<\/a>&nbsp;file of your active theme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4-source-code\">Parameters<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>$feed<\/strong> (array) Feed Data<\/li>\n\n\n\n<li><strong>$entry<\/strong> (Object) Submission Object<\/li>\n\n\n\n<li><strong>$form<\/strong> (object) Form Object<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4-source-code\">Source Code<\/h2>\n\n\n\n<p>This hook is located influentformpro\/src\/Integrations\/UserRegistration\/UserRegistrationApi.php -> registerUser()<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description This action runs before starting the user registration process on the user registration module. You can use this action to do additional tasks during the user registration process. Usage This code should be placed in the&nbsp;functions.php&nbsp;file of your active theme. Parameters Source Code This hook is located influentformpro\/src\/Integrations\/UserRegistration\/UserRegistrationApi.php -> registerUser()<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[20],"doc_tag":[],"knowledge_base":[264],"class_list":["post-10441","docs","type-docs","status-publish","hentry","doc_category-action-hooks","knowledge_base-developer-documentation"],"acf":[],"year_month":"2026-06","word_count":100,"total_views":"750","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"Shahjahan Jewel","author_link":"https:\/\/fluentforms.com\/author\/gracious-kalam\/"},"doc_category_info":[{"term_name":"Action Hooks","term_url":"https:\/\/fluentforms.com\/docs\/developer-documentation\/action-hooks\/"}],"doc_tag_info":[],"taxonomy_info":{"doc_category":[{"value":20,"label":"Action Hooks"}],"knowledge_base":[{"value":264,"label":"Developer Documentation"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"Developer Documentation","term_url":"https:\/\/fluentforms.com\/docs\/developer-documentation\/","term_slug":"developer-documentation"}],"knowledge_base_slug":["developer-documentation"],"_links":{"self":[{"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/docs\/10441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/comments?post=10441"}],"version-history":[{"count":0,"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/docs\/10441\/revisions"}],"wp:attachment":[{"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/media?parent=10441"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/doc_category?post=10441"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/doc_tag?post=10441"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/fluentforms.com\/wp-json\/wp\/v2\/knowledge_base?post=10441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}