Function __global->delete_lang
Definitions
sources/lang.php
- Delete the specified content language string from the translation table.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $lang_id | mixed | No | No | required parameter | N/A | N/A | The ID |
| $db | ?object | No | No | Null | N/A | N/A | The database connector to use (null: standard site connector) |
Preview
Code (PHP)
/**
* Delete the specified content language string from the translation table.
*
* @param mixed $lang_id The ID
* @param ?object $db The database connector to use (null: standard site connector)
*/
function delete_lang($lang_id, ?object $db = null)
* Delete the specified content language string from the translation table.
*
* @param mixed $lang_id The ID
* @param ?object $db The database connector to use (null: standard site connector)
*/
function delete_lang($lang_id, ?object $db = null)

