ACF\AI

AI::initialize │ public │ ACF 6.8.0

Initializes the AI functionality.

Method of the class: AI{}

No Hooks.

Returns

void. Nothing (null).

Usage

$AI = new AI();
$AI->initialize();

Changelog

Since 6.8.0 Introduced.

AI::initialize() code ACF 6.8.8

public function initialize() {
	if ( $this->is_geo_enabled() ) {
		new GEO();
	}

	if ( $this->is_ai_enabled() ) {
		new Abilities();
		$this->add_admin_ui_hooks();
	}
}