Reorganize webhook class. #1311
Move wp_parse_args() to the top. #1311