• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Abstract_Main::is_development() – Returns whether or not we’re in an environment for Yoast development.

You appear to be a bot. Output may be restricted

Description

Returns whether or not we're in an environment for Yoast development.

Usage

$bool = Abstract_Main::is_development();

Parameters

Returns

bool Whether or not to load in development mode.

Source

File name: wordpress-seo/lib/abstract-main.php
Lines:

1 to 9 of 9
  protected function is_development() {
    try {
      return \WPSEO_Utils::is_development_mode();
    }
    catch ( \Exception $exception ) {
      // E.g. when WordPress and/or WordPress SEO are not loaded.
      return \defined( 'YOAST_ENVIRONMENT' ) && \YOAST_ENVIRONMENT === 'development';
    }
  }
 

 View on GitHub View on Trac

Published: 22nd February 2021 | Last updated: 12th September 2021

Primary Sidebar

Information

Function name: Abstract_Main::is_development
Class ref: Abstract_Main
Plugin ref: Yoast SEO
Version: 19.9
Sourcefile: lib/abstract-main.php
File ref: lib/abstract-main.php
Deprecated?: No
API Letters: A,D,I,M

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 6.1.1
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:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2023. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites