Skip to content

Make use of wp_admin_notice where possible  #896

@carstingaxion

Description

@carstingaxion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions