This collection on standards by HQHow.com
- Escape, echo, sanitize,...validate input data
- Every echo must include text-domain for the translation
- If there's empty file, delete it
- If there's the commented code, delete it on the production commit.
- If you want to regist the resources file, like CSS or JS, you must pay attention to the - performance and how it will affect to user's site
- For every output class name, they must have the plugin prefix, i.e InnoRef, the prefix should be inr-your-class-name
- Try not to override the basic elements like a, b, strong, i....you will want to mantain the consistancy of the UI through out the website
- If you want to call and run AJAX, you just do it via wp-ajax.php action, and must pay attention to logged in/out user case.