LostCore
6/17/2014 - 8:19 AM

How to display wordpress admin message

How to display wordpress admin message

try{
    //code here...
}catch(Exception $e){
    echo '<div class="error"><p>'.$e->getMessage().'</p></div>';
}