Description
Detect whether or not Genesis SEO has been disabled.
Usage
$bool = genesis_seo_disabled();
Parameters
Returns
bool true
if Genesis SEO is disabled, false
otherwise.
Source
File name: genesis/lib/functions/seo.php
Lines:
1 to 6 of 6
function genesis_seo_disabled() { return defined( 'GENESIS_SEO_DISABLED' ) && GENESIS_SEO_DISABLED; }
Called by
1 to 7 of 7
- Genesis_Admin_CPT_Archive_Settings::metaboxes() – Register meta boxes on the CPT Archive pages.
- 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.
- Genesis_Script_Loader::maybe_enqueue_admin_scripts() – Conditionally enqueue the scripts used in the admin.
- genesis_seo_active() – Detect whether Genesis SEO is active.
- genesis_seo_site_title() – Echo the site title into the header.
- lib/views/meta-boxes/genesis-user-settings.php
- lib/views/pages/genesis-admin-upgraded.php