Post edited 8:20 am – April 27, 2010 by Blutarsky
Post edited 8:23 am – April 27, 2010 by Blutarsky
Post edited 8:24 am – April 27, 2010 by Blutarsky
I have noticed that in aioseop.class.php, some filters are initiated, like
- single_post_title
– aioseop_description
– aioseop_keywords
– aioseop_canonical_url
HOWEVER, although I have written some hooks to those filters in my functions.php code like:
// AIOSEOP
add_filter('aioseop_description','FW_AIOSEOP_description');
add_filter('aioseop_keywords','FW_AIOSEOP_keywords');
add_filter('aioseop_title_page','FW_AIOSEOP_title');
and written specific code to handle those calls:
function FW_AIOSEOP_description($text) {
return "Hello!!";
}
function FW_AIOSEOP_keywords($text) {
return "Blablabla";
}
function FW_AIOSEOP_title_page($text) {
return "Cucù!!";
}
unfortunatelly nothing happens.
Is there a well known limitation on this?