You appear to be a bot. Output may be restricted
Description
Check if the current opened page belongs to Yoast SEO Free.
Usage
$bool = WPSEO_Utils::is_yoast_seo_free_page( $current_page );
Parameters
- $current_page
- ( string ) required – The current page the user is on.
Returns
bool
Source
File name: wordpress-seo/inc/class-wpseo-utils.php
Lines:
1 to 13 of 13
public static function is_yoast_seo_free_page( $current_page ) { $yoast_seo_free_pages = [ 'wpseo_dashboard', 'wpseo_titles', 'wpseo_social', 'wpseo_advanced', 'wpseo_tools', 'wpseo_search_console', 'wpseo_licenses', ]; return in_array( $current_page, $yoast_seo_free_pages, true ); }