WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18265, comment 18


Ignore:
Timestamp:
07/27/2011 11:00:57 PM (7 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18265, comment 18

    initial v1  
    44function force_load_template( $template ) {
    55        load_template( $template );
    6         die;
     6
     7        return false;
    78}
    89add_filter( 'template_include', 'force_load_template', 999 );