Ticket #27213: main.php
File main.php, 313 bytes (added by , 11 years ago) |
---|
Line | |
---|---|
1 | <?php |
2 | /* |
3 | Plugin Name: TGI Tests |
4 | Plugin URI: http://wordpress.org |
5 | Description: Testing |
6 | Author: Marventus |
7 | Version: 1.0 |
8 | */ |
9 | |
10 | function tgitest_in_category() { |
11 | if( in_category('reviews') ) |
12 | echo "This is a test for admins only. Please disregard."; |
13 | } |
14 | add_action("wp_head", "tgitest_in_category"); |
15 |