protected function loadFieldGroups()
    {
        if (function_exists('register_field_group') && ($config = $this->loadConfigFile('field_groups.php'))) {
            foreach ($config as $fieldGroupConfig) {
                register_field_group($fieldGroupConfig);
            }
        }

        return $this;
    }
protected function loadFieldGroups()
    {
        if (function_exists('register_field_group') && ($config = $this->loadConfigFile('field_groups.php'))) {
            foreach ($config as $fieldGroupConfig) {
                register_field_group($fieldGroupConfig);
            }
        }

        return $this;
    }
protected function loadFieldGroups ( ) { if ( function_exists ( 'register_field_group' ) && ( $ config = $ this -> loadConfigFile ( 'field_groups.php' ) ) ) { foreach ( $ config as $ fieldGroupConfig ) { register_field_group ( $ fieldGroupConfig ) ; } } return $ this ; }
Load custom field groups from configuration files.

@return \Tev\Plugin\Loader This, for chaining
Load custom field groups from configuration files .