How to change the location of admin notice in html without using Javascript?
I am adding an admin notice via the conventional admin_notice
hook in my plugin:
function my_admin_notice() { ?
div class="notice notice-info is-dismissible"
p?php _e( 'some message', 'my-text-domain' ); ?/p
/div
?php
}
if ( my_plugin_show_admin_notice() )
add_action( 'admin_notices', 'my_admin_notice' );
How can I control where wordpress places the admin notice, in the html on the current screen, without using Javascript?