In catch() you can get Exception object. From that you can get the error detail. Check following example. try { $error = new WP_Error( ...
確定! 回上一頁