ACF\AI

AI::is_ai_enabledpublicACF 6.8.0

Checks if AI functionality is enabled.

Method of the class: AI{}

No Hooks.

Returns

boolean.

Usage

$AI = new AI();
$AI->is_ai_enabled(): bool;

Changelog

Since 6.8.0 Introduced.

AI::is_ai_enabled() code ACF 6.8.8

public function is_ai_enabled(): bool {
	return (bool) acf_get_setting( 'enable_acf_ai' );
}