NoAutoGenerate: efficiency / move function call out of the foreach loop.
NoAutoGenerate: efficiency / move function call out of the foreach loop.

WPTRT/WordPress-Coding-Standards,WPTRT/WordPress-Coding-Standards,WPTRT/WordPress-Coding-Standards,WPTRT/WordPress-Coding-Standards,WPTRT/WordPress-Coding-Standards