• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Genesis Theme Framework a2z

Genesis Theme Framework a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / genesis_seo_disabled() – Detect whether or not Genesis SEO has been disabled.

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

Invoked by

    Calls

    1 to 1 of 1
    • genesis_seo_disabled() – Detect whether or not Genesis SEO has been disabled.

    Call hooks

    Function name: genesis_seo_disabled
    Plugin ref: Genesis Framework
    Version: 3.3.5
    Sourcefile: lib/functions/seo.php
    File ref: lib/functions/seo.php
    Deprecated?: No
    API Letters: D,G,S

    Published: 25th November 2019 | Last updated: 25th November 2019

    Primary Sidebar

    Information

    Function name: genesis_seo_disabled
    Plugin ref: Genesis Framework
    Version: 3.3.5
    Sourcefile: lib/functions/seo.php
    File ref: lib/functions/seo.php
    Deprecated?: No
    API Letters: D,G,S

    Footer

    Genesis a2z
    Genesis Theme Framework a2z
    WordPress Dynamic API Reference
    WordPress 5.9.3
    WordPress a2z
    WordPress core a2z
    Genesis Theme Framework a2z
    Jetpack a2z
    WordPress develop tests
    Easy Digital Downloads a2z
    WooCommerce a2z
    Yoast SEO a2z
    WordPress Blocks

    Site:  genesis.wp-a2z.org
    © Copyright Genesis a2z 2014-2022. All rights reserved.


    Website designed and developed by Herb Miller
    Proudly powered by WordPress and oik plugins

    • Home
    • Blog
    • Sitemap
    • Sites