[Resolved] do_action(‘setup_theme’); and add_action(‘setup_theme’, ‘preview_theme’);?
The add_action isn’t even in a function. It’s just hanging out in the file by itself.
The only other reference to
setup_themeI could find is in the Codex here:
but it’s not defined anywhere that I can see.
I ran into this while tracking down a bug in the preview theme functions. I think I finally figured out why themes with a hyphen ‘-‘ can’t be previewed.
- The topic ‘[Resolved] do_action(‘setup_theme’); and add_action(‘setup_theme’, ‘preview_theme’);?’ is closed to new replies.