update yoast seo metabox filtering to not use an anonymous function since it doesn't work in php 5.2