Skip to content

Instantly share code, notes, and snippets.

@mahangu
Created March 10, 2016 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mahangu/ede253ab37f151ee5f2c to your computer and use it in GitHub Desktop.
Save mahangu/ede253ab37f151ee5f2c to your computer and use it in GitHub Desktop.
add_filter( 'the_title', 'wcmumbai_add_promo', 10, 2);
function wcmumbai_add_promo( $title, $id = null ) {
$title = "WordCamp Mumbai >> " . $title;
return $title;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment