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

Make use of wp_admin_notice where possible #896

Open
1 task done
carstingaxion opened this issue Sep 20, 2024 · 0 comments
Open
1 task done

Make use of wp_admin_notice where possible #896

carstingaxion opened this issue Sep 20, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@carstingaxion
Copy link
Collaborator

carstingaxion commented Sep 20, 2024

Is your enhancement related to a problem? Please describe.

WordPress 6.4 introduced a function, that renders an admin notice without the need to write html. Let’s use it wherever we can.

https://developer.wordpress.org/reference/functions/wp_admin_notice/

Related code:

Utility::render_template(

Utility::render_template(

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@carstingaxion carstingaxion added enhancement New feature or request good first issue Good for newcomers labels Sep 20, 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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant