« Return to Thread: Getting $sep from wp_title

Getting $sep from wp_title

by Alex Andrews :: Rate this Message:

Reply to Author | View in Thread

Hi all,

I'm probably being stupid, but I can't work out how to get the
variable $sep which is the second parameter of wp_title

wp_title($sep = '»', $display = true, $seplocation = '')

I want to get $sep out, so when I do a add_filter('wp_title',
'ribcage_page_title'); then ribcage_page_title can get $sep from
wp_title somehow and

Looking at the source it seems that wp_title, when it applies the
filters, passes the variables along. So does that mean that
ribcage_page_title gets these variables?

Cheers very much

Alex
_______________________________________________
wp-hackers mailing list
wp-hackers@...
http://lists.automattic.com/mailman/listinfo/wp-hackers

 « Return to Thread: Getting $sep from wp_title