# wp-print/2.52/print.php

WP-Print, version 2.52. 35 lines.

- Page: https://pluginprobe.com/plugins/wp-print/2.52/code/print.php
- Raw: https://pluginprobe.com/plugins/wp-print/2.52/raw/print.php
- Modified: 2013-01-19T04:02:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-print/2.52/code/print.php#L10-L20`.

```php
<?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(TEMPLATEPATH.'/print-posts.php')) {
	include(TEMPLATEPATH.'/print-posts.php');
} else {
	include(WP_PLUGIN_DIR.'/wp-print/print-posts.php');
}
?>
```
