ACF_Location::get_object_typepublicACF 5.9.0

Returns the object_type connected to this location.

Method of the class: ACF_Location{}

No Hooks.

Returns

String.

Usage

$ACF_Location = new ACF_Location();
$ACF_Location->get_object_type( $rule );
$rule(array) (required)
A location rule.

Changelog

Since 5.9.0 Introduced.

ACF_Location::get_object_type() code ACF 6.8.8

public function get_object_type( $rule ) {
	return $this->object_type;
}