WPSEO_Frontend not found on version 17.8
-
We were using the WPSEO_Frontend class to get the title of the current page and then use it to feed some share buttons, like this:
$wpseo = WPSEO_Frontend::get_instance(); $current_title = $wpseo->title( false );
When updating to 17.8 we get a fatal error:
HP Fatal error: Uncaught Error: Class ‘WPSEO_Frontend’ not found in…
What is now the alternative to get the current page title from Yoast SEO?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WPSEO_Frontend not found on version 17.8’ is closed to new replies.