Skip to content

Add action hook that allows adding custom builder tab content#2952

Open
AbdiTolesa wants to merge 1 commit intomasterfrom
add_hook_for_new_builder_tab_content
Open

Add action hook that allows adding custom builder tab content#2952
AbdiTolesa wants to merge 1 commit intomasterfrom
add_hook_for_new_builder_tab_content

Conversation

@AbdiTolesa
Copy link
Copy Markdown
Contributor

@AbdiTolesa AbdiTolesa commented Feb 11, 2026

From discussion on #2682:

@AbdiTolesa I think this is too risky. I left a comment in Helpscout about how this is a breaking change https://secure.helpscout.net/conversation/3174611369/244321#thread-9700394418

I think we could add a new hook instead, and consider deprecating the old hook.

Let's leave deprecating for now though. I don't know if it's really worth trying to remove this one.

Originally posted by @Crabcyborg in #2682 (comment)

Related ticket: https://secure.helpscout.net/conversation/3174611369/244321

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 11, 2026

📝 Walkthrough

Walkthrough

A new WordPress action hook frm_extra_form_builder_tabs was added to the form builder view at classes/views/frm-forms/add_field_links.php, enabling external handlers to inject additional tabs or content into the form builder UI.

Changes

Cohort / File(s) Summary
Form Builder Extension Point
classes/views/frm-forms/add_field_links.php
Added new action hook frm_extra_form_builder_tabs with PHPDoc documentation, allowing plugins to extend form builder UI by injecting additional tabs or content through the hook mechanism.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

A hop, a skip, a new hook takes flight, 🐰
frm_extra_form_builder_tabs shines bright,
Builders extend with a call divine,
Form creation flows through action's design! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: adding a WordPress action hook (frm_extra_form_builder_tabs) that enables custom builder tab content injection into the form builder UI.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch add_hook_for_new_builder_tab_content

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented Feb 11, 2026

Here's the code health analysis summary for commits eaec45f..baf7508. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource PHP LogoPHP✅ SuccessView Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@AbdiTolesa AbdiTolesa changed the title Add action hook that allows outputting custom builder tab content Add action hook that allows adding custom builder tab content Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant