Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.741 kb
<?php
/*
* WordPress Plugin: WP-Print
* Copyright (c) 2012 Lester "GaMerZ" Chan
*
* File Written By:
* - Lester "GaMerZ" Chan
* - http://lesterchan.net
*
* File Information:
* - Process Printing Page
* - wp-content/plugins/wp-print/print.php
*/
### Variables
$links_text = '';
### Actions
add_action('init', 'print_content');
### Filters
add_filter('wp_title', 'print_pagetitle');
add_filter('comments_template', 'print_template_comments');
### Print Options
$print_options = get_option('print_options');
### Load Print Post/Page Template
if(file_exists(get_stylesheet_directory().'/print-posts.php')) {
include(get_stylesheet_directory().'/print-posts.php');
} else {
include(WP_PLUGIN_DIR.'/wp-print/print-posts.php');
}
Jump to Line
Something went wrong with that request. Please try again.