ACF_Location::get_object_subtypepublicACF 5.9.0

Returns the object_subtype connected to this location.

Method of the class: ACF_Location{}

No Hooks.

Returns

String|Array.

Usage

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

Changelog

Since 5.9.0 Introduced.

ACF_Location::get_object_subtype() code ACF 6.0.4

public function get_object_subtype( $rule ) {
	return $this->object_subtype;
}