packages/kirki-framework/module-editor-styles/src/Module.php
private function is_disabled( $args = [] ) {
		if ( defined( 'KIRKI_NO_OUTPUT' ) && true === KIRKI_NO_OUTPUT ) {
			return true;
		}

		if ( ! empty( $args ) ) {
			if ( isset( $args['disable_output'] ) && true === $args['disable_output'] ) {
				return true;
			}

			if ( ! isset( $args['gutenberg_support'] ) || true !== $args['gutenberg_support'] ) {
				return true;
			}
		}

		return false;
	}
private function is_disabled( $args = [] ) {
		if ( defined( 'KIRKI_NO_OUTPUT' ) && true === KIRKI_NO_OUTPUT ) {
			return true;
		}

		if ( ! empty( $args ) ) {
			if ( isset( $args['disable_output'] ) && true === $args['disable_output'] ) {
				return true;
			}

			if ( ! isset( $args['gutenberg_support'] ) || true !== $args['gutenberg_support'] ) {
				return true;
			}
		}

		return false;
	}
private function is_disabled ( $ args = [ ] ) { if ( defined ( 'KIRKI_NO_OUTPUT' ) && true === KIRKI_NO_OUTPUT ) { return true ; } if ( ! empty ( $ args ) ) { if ( isset ( $ args [ 'disable_output' ] ) && true === $ args [ 'disable_output' ] ) { return true ; } if ( ! isset ( $ args [ 'gutenberg_support' ] ) || true !== $ args [ 'gutenberg_support' ] ) { return true ; } } return false ; }
Helper method to check if feature is disabled.

Feature can be disabled by KIRKI_NO_OUTPUT constant,
gutenbeg_support argument, and disabled output argument.

@access public
@param array $args An array of arguments.
@since 3.0.35

@return bool $disabled Is gutenberg integration feature disabled?
Helper method to check if feature is disabled .