Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 4th, 2011  |  syntax: PHP  |  size: 0.22 KB  |  views: 206  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. // When http://core.trac.wordpress.org/ticket/15086 goes in:
  3. function get_sidebar( $name = null, $subfolder = null ) {
  4.         do_action( 'get_sidebar', $name );
  5.  
  6.         get_template_part( 'sidebar', $name, $subfolder );
  7. }
  8.  
  9. ?>
clone this paste RAW Paste Data