[theme-reviewers] add_editor_style() question
Shinra Web Holdings
shinrawebholdings at gmail.com
Sat Dec 29 23:38:16 UTC 2012
Except the $content_width variable right? Or is that obsolete now?
On Dec 29, 2012 2:55 PM, "Otto" <otto at ottodestruct.com> wrote:
> On Sat, Dec 29, 2012 at 2:28 PM, Shinra Web Holdings
> <contact at shinraholdings.com> wrote:
> > Is simply placing add_editor_style() in the functions.php file the best
> > practice, or is it better to wrap it in a theme function and call that
> > add_action()?
> It is best to place that call inside a setup function which is then
> hooked to the "after_setup_theme" action hook.
> In general, nothing in the theme's functions.php file should be
> outside of a function other than the add_action or add_filter calls.
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers