|
/ Documentation /Developers Documentation/ Disable SureRank’s Document Title Integration

Disable SureRank’s Document Title Integration

Hook: surerank_disable_automatic_titles

Description: Returning true prevents SureRank from registering its document-title filters for all frontend requests. WordPress or the theme then determines titles. This does not guarantee removal of archive prefixes. For prefix-only changes, use the relevant archive title templates or filters instead.

Source: inc/frontend/title.php

Usage: Disable SureRank document-title integration when another solution should control titles across the site. Test all affected title types before using this filter.

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
Table of Contents
Scroll to Top