Make WordPress Core

Ticket #27213: main.php

File main.php, 313 bytes (added by Marventus, 10 years ago)

Short Testing plugin

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
10function tgitest_in_category() {
11        if( in_category('reviews') )
12                echo "This is a test for admins only. Please disregard.";
13}
14add_action("wp_head", "tgitest_in_category");
15