Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Leo Blanchette on "after_setup_theme not running after theme setup"

$
0
0

In a plugin I've done an add_action( 'after_setup_theme' , 'some_funct' ); and then the plugin calls a function named in the theme's functions.php file.

It should work! It came in after "theme setup"! Yet its saying undefined function!!! I'm living in the twighlight zone.

Is there any instances or reasons after_setup_theme would disobey the idea of loading after theme setup?


Viewing all articles
Browse latest Browse all 8245

Trending Articles