Video Tutorial Filters
Filters are a special type of hook that allow you to alter a value by passing it through a series of operations.
Operation
The signature is identical to the function which allows actions to be recorded.
function montheme_title_separator ()
{
return '|';
}
add_filter ('document_title_separator', 'montheme_title_separator');
Remember to return the value when calling your filter so that the following methods can also process them.