Removed unused function.
WordPress Coding Standards optimizations.