Increase the priority of wp_footer hook
-
The footer stuff should be loaded towards the end, after all dependencies have been loaded.
change ihaf.php#60
add_action( ‘wp_footer’, array( &$this, ‘frontendFooter’ ), 30 );
Suppose I am loading jquery in footer. Then all footer content should be loaded as later as possible. Otherwise the dependencies will break.
- The topic ‘Increase the priority of wp_footer hook’ is closed to new replies.