Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract pre_render_block logic #64

Closed
mogmarsh opened this issue Mar 28, 2024 · 0 comments · Fixed by #78
Closed

extract pre_render_block logic #64

mogmarsh opened this issue Mar 28, 2024 · 0 comments · Fixed by #78
Assignees
Labels
enhancement New feature or request php Requires understanding PHP

Comments

@mogmarsh
Copy link
Collaborator

Description

the pre_render_block filter on both the is-false and is-true block both use very similar logic. If that logic will be used elsewhere as well, or even pieces of it, it may be useful to extract that logic out into reusable functions.

Use Case

DRY up the code

@mogmarsh mogmarsh added the enhancement New feature or request label Mar 28, 2024
@anubisthejackle anubisthejackle self-assigned this Apr 29, 2024
@kevinfodness kevinfodness added the php Requires understanding PHP label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request php Requires understanding PHP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants