Skip to content

Conversation

@ilicfilip
Copy link
Collaborator

We have a method similar to get_template_part function, it is used to include template files and optionally pass the arguments to the included file.

In case when the fallback template file is specified and $get_contents argument is set to to false both the template file and it's fallback will be included.

Popped up while working with interactive tasks and wanted to create specific template for the new such task, I got both new popover and fallback included from the_popover_content,

@ilicfilip ilicfilip added this to the 1.10.0 milestone Nov 19, 2025
@ilicfilip ilicfilip requested a review from aristath November 19, 2025 10:28
@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2025

Test on Playground
Test this pull request on the Playground
or download the zip

@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2025

✅ Code Coverage Report

Metric Value
Total Coverage 24.92% 📉
Base Coverage 24.92%
Difference 📈 0.00%

⚠️ Coverage below recommended 40% threshold

🎉 Great job maintaining/improving code coverage!

📊 File-level Coverage Changes (1 files)

📉 Coverage Decreased

Class Before After Change
Progress_Planner\Base 7.69% 7.64% -0.05%
ℹ️ About this report
  • All tests run in a single job with Xdebug coverage
  • Security tests excluded from coverage to prevent output issues
  • Coverage calculated from line coverage percentages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants