Settings::getName( $key = '' )
Convert . seperated name to array syntax
Description
Source
File: bp-integrations/learndash/core/Settings.php
public function getName($key = '')
{
$name = $this->optionKey;
foreach (array_filter(explode('.', $key)) as $peice) {
$name .= "[{$peice}]";
}
return $name;
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.