|
/ Documentation /Developers Documentation/ Disable SureRank’s Automatic SEO Title Output surerank_disable_automatic_titles

Disable SureRank’s Automatic SEO Title Output surerank_disable_automatic_titles

Hook: surerank_disable_automatic_titles

Description: This filter hook allows you to completely disable SureRank’s automatic SEO title generation for posts, pages, or any public content type. It’s useful when you want full control over your SEO titles, especially when using custom functions. This hook ensures SureRank does not override or append to the default WordPress title behavior.

Source: inc/frontend/title.php

Usage: Turn off SureRank title generation.

Example:

Customizing

PHP
// Disable SureRank's automatic title generation for better manual or theme-based control.
add_filter( 'surerank_disable_automatic_titles', '__return_true' );

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
On this page
Scroll to Top