How to Block Access to Standard Login Flow and Comment Flow
All standard login / registration action are done using ‘wp-login.php’ file. The standard comments are saved using ‘wp-comments-post.php’ file. Blocking this 2 files you block standard flow for comments, login, registration and password recover. Very early in its bootstrap WordPress save a global variable $pagenow that contain the name of the file being loaded. You … Read more