Skip to content

Use a different action name, put it in the right place, and add a check that var is set#3089

Merged
Crabcyborg merged 2 commits into
masterfrom
add_hook_for_new_builder_tab_content
Apr 27, 2026
Merged

Use a different action name, put it in the right place, and add a check that var is set#3089
Crabcyborg merged 2 commits into
masterfrom
add_hook_for_new_builder_tab_content

Conversation

@Crabcyborg

@Crabcyborg Crabcyborg commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Meant to base this on the other hook. I still don't like the name that was being used after making some changes.

It was also still in the wrong place.

Snippet example:

add_action(
	'frm_extra_form_instruction_tabs',
	function () {
	?>
		<li>
			<a href="#custom-tab">
				Custom Tab
			</a>
		</li>
	<?php
	}
);

add_action(
	'frm_extra_form_instruction_tabs_content',
	function () {
		?>
			<div>
				<div id="custom-tab" class="tabs-panel">
					Custom tab content
				</div>
			</div>
		<?php
	}
);

@coderabbitai

coderabbitai Bot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@Crabcyborg has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 50 minutes and 24 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1f24032b-3eaa-4ea4-bca9-4b02d97b77df

📥 Commits

Reviewing files that changed from the base of the PR and between f0bd9df and 30e399c.

📒 Files selected for processing (1)
  • classes/views/frm-forms/add_field_links.php
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • 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

deepsource-io Bot commented Apr 27, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in f0bd9df...30e399c on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
PHP Apr 27, 2026 7:25p.m. Review ↗
JavaScript Apr 27, 2026 7:25p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@Crabcyborg Crabcyborg merged commit 3f060f3 into master Apr 27, 2026
20 of 22 checks passed
@Crabcyborg Crabcyborg deleted the add_hook_for_new_builder_tab_content branch April 27, 2026 19:27
@Crabcyborg Crabcyborg changed the title Use a different action name Use a different action name, put it in the right place, and add a check that var is set Apr 27, 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