Capitalize Category Titles in All in One SEO Pack

Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

The Capitalize Category Titles and Capitalize Tag and Search Titles functionality in All in One SEO Pack was removed in version 2.3.15 and Pro version 2.4.15.  Instead, we no longer interfere with the capitalization of title tags.

This filter only works in versions prior to 2.3.15 and Pro v2.4.15.

For example, to never capitalize category and taxonomy titles, use the following code.

add_filter( 'aioseop_capitalize_categories' , '__return_false');

To always capitalize them, use this code.

add_filter( 'aioseop_capitalize_categories'  , '__return_true');

You can use an actual callback function if you would like to introduce additional logic for this functionality.

add_filter( 'aioseop_capitalize_categories', 'modify_category_capitalization' );

function modify_category_capitalization ( $to_capitalize ){

if ( conditiontocapitalize ){

return true;



For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo