function check_404_event() { if (is_404()) { //This means a 404 event has occurred - let's log it! AIOWPSecurity_Utility::event_logger('404'); } }