wpseo_disable_robots_schemamap
wpseo_disable_robots_schemamap
Appears in: wordpress-seo.27.1.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.27.1.1apply_filters('wpseo_disable_robots_schemamap') is found 1 times:
- /src/schema-aggregator/user-interface/site-schema-robots-txt-integration.php line 45
Warning: Undefined array key 50 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
if ( (string) \get_option( 'blog_public' ) === '0' ) { return; } if ( \apply_filters( 'wpseo_disable_robots_schemamap', false ) ) { return; } $robots_txt_helper->add_schemamap( \esc_url( \rest_url( Main::API_V1_NAMESPACE . '/' . Site_Schema_Aggregator_Xml_Route::ROUTE_PREFIX . '/get-xml' ) ) ); } }