Infinite Scroll: Add function_exists check.