|
/ Documentation /Developers Documentation/ Customize SEO Title Length Check Threshold surerank_title_length

Customize SEO Title Length Check Threshold surerank_title_length

Hook: surerank_title_length

Description: This filter changes the title-length value exposed to the editor. In this release the live page check still compares the title against 60 characters. The filter does not change that warning cutoff.

Source: inc/functions/get.php

Use an integer character count. The live page title-length warning still uses 60 characters in this release.

Example:

PHP
// Return the default editor title-length value.
add_filter( 'surerank_title_length', function() {
    return 60; // Default editor title-length value.
});

You can add the example code to your child theme’s functions.php file or use a plugin like Code Snippets to safely insert custom code. Using a code snippet plugin is recommended for easier management and to ensure the code remains active even if you switch themes.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top