[wp-hackers] Q: get_sidebar (or similar include) & wp_meta (or similar hook)

scribu mail at scribu.net
Fri Nov 5 16:34:51 UTC 2010


These hooks are meant to transcend template files:

function my_particular_callback() {
  if ( // some condition is meat ) {
    // do stuff
  }
}
add_action('wp_footer', 'my_particular_callback');

A more useful example:

http://scribu.net/wordpress/optimal-script-loading.html


More information about the wp-hackers mailing list