<div dir="ltr">What's required is that themes appropriately execute their code on the correct hook rather than arbitrarily executing it in `functions.php`. If something should be done on the `after_setup_theme` hook, the theme author should create a function and execute his or her code on that hook.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 1:00 PM, Ulrich Pogson <span dir="ltr"><<a href="mailto:grapplerulrich@gmail.com" target="_blank">grapplerulrich@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The way I understand it, the reason you use `<font face="arial, sans-serif">after_setup_theme` is so that the code is run only when needed for the theme. If it is not mentioned in the guidelines then I would it is highly recommended.</font></div>


<div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On 15 May 2014 18:41, carolina poena <span dir="ltr"><<a href="mailto:myazalea@hotmail.com" target="_blank">myazalea@hotmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">




<div><div dir="ltr">Is using after_setup_theme required when adding register_nav_menu, add_theme_support, load_theme_textdomain etc,<br>or is using init allowed?<br> <br>                                       </div></div>
<br></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>