LLMS_Forms::is_location_valid( string $location )

Determines if a location is a valid & registered form location


Parameters Parameters

$location

(string) (Required) The location id.


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/forms/class-llms-forms.php

	public function is_location_valid( $location ) {
		return in_array( $location, array_keys( $this->get_locations() ), true );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.