Issue #2307859 by rpayanm, dankh, shumer: Move theme-render hooks from system.api.php to theme.api.php