yoast_seo_development_mode, false

yoast_seo_development_mode, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('yoast_seo_development_mode, false') is found 1 times:

  • /src/helpers/environment-helper.php line 17
    	 * @return bool True if WordPress is currently running on production, false for all other environments.
    	 */
    	public function is_production_mode() {
    		// phpcs:ignore Yoast.NamingConventions.ValidHookName.WrongPrefix -- existing hook.
    		$override = \apply_filters( 'yoast_seo_development_mode', false );
    		if ( $override ) {
    			return true;
    		}
    
    		return $this->get_wp_environment() === 'production';
    	}