mercredi 4 mars 2015

Action wp_footer with priority 1 is after wp_print_footer_scripts


In my Wordpress 4.1 instance I found a strange thing. The wp_footer action print_script with priority 1 is executed after wp_print_footer_scripts which has priority 20.



add_action( 'wp_footer', array( &$this, 'print_script' ), 1 );


I thought that it's a problem with my plugin or something. I put the code in the functions.php and the same problem.





Aucun commentaire:

Enregistrer un commentaire