Skip to content

Instantly share code, notes, and snippets.

@mikeschinkel
Created November 21, 2011 05:00
Show Gist options
  • Save mikeschinkel/1381677 to your computer and use it in GitHub Desktop.
Save mikeschinkel/1381677 to your computer and use it in GitHub Desktop.
Sample WordPress Plugin for @TheLoneCuber
<?php
/*
* Plugin Name: The Lone Cuber
*/
add_filter( 'wp_title', 'thelonecuber_wp_title', 10, 3 );
function thelonecuber_wp_title( $title, $sep, $seplocation ) {
return "THE LONE CUBER STRIKES AGAIN, MUHAHAHAHAH! - {$title}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment