<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\SEO * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ */ /* function genesis_disable_seo() – Disable the Genesis SEO features. */ /* function genesis_seo_disabled() – Detect whether or not Genesis SEO has been disabled. */ /* function genesis_seo_active() – Detect whether Genesis SEO is active. */ add_action( 'after_setup_theme', 'genesis_seo_compatibility_check' ); /* function genesis_seo_compatibility_check() – Check for the existence of popular SEO plugins and disable the Genesis SEO features if one or more of the plugins is active. */ /* function genesis_detect_seo_plugins() – Detect some SEO Plugin that add constants, classes or functions. */ add_action( 'save_post', 'genesis_maybe_clear_primary_title_h1' ); /* function genesis_maybe_clear_primary_title_h1() – Sets the Primary Title H1 Genesis SEO setting to None if a heading level one is found on a static homepage. */ /* function genesis_is_wpseo_outputting_jsonld() – Determines if JSON-LD is enabled from 3rd party plugins. */