do you know why i am missing argument 2 for this function?
add_action( 'admin_notices', 'notice_handler', 10, 2);
function notice_handler($error_token, $error_tag) {
...
}
}
but when i activate the plugin wp says: Warning: Missing argument 2 for notice_handler()....