Skip to content

Instantly share code, notes, and snippets.

@mahangu
Created March 10, 2016 09:43
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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