Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Inpsyde
MultilingualPress
Core
InternalLocations
has
Inpsyde\MultilingualPress\Core\InternalLocations::has PHP Method
InternalLocations Class Documentation
Show file
Open project: inpsyde/multilingual-press
has()
public
method
Checks if a location with the given name exists.
Since:
3.0.0
public
has
(
string
$name
) :
boolean
$name
string
Location name.
return
boolean
Whether or not a location with the given name exists.
public function has($name) { return array_key_exists($name, $this->locations); }
InternalLocations
add
get
has