get_handler_field_info_by_field_variable('mobile_phone_number'); if (empty($extraFieldInfo)) { $extraField->save(array( 'field_type' => 1, 'variable' => 'mobile_phone_number', 'display_text' => $this->get_lang('mobile_phone_number'), 'default_value' => null, 'field_order' => 2, 'visible' => 1, 'changeable' => 1, 'filter' => null )); } } /** * install (installs the plugin) * @return void */ public function install() { $this->addMobilePhoneNumberField(); } }