Deprecated

This function has been deprecated.

ap_env_dev()

Description #

Check if anspress environment is development.

Changelog #

VersionDescription
4.1.0Introduced.

Source #

File: includes/deprecated.php

function ap_env_dev() {
	_deprecated_function( __FUNCTION__, '4.1.0' );

	if ( 'development' === ap_read_env() ) {
		return true;
	}

	return false;
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment