Added some doc for filters into components-utils.php
Don't use global var to retrieve current post, use get_post() instead