Function Hook_import_smf2->fix_links
Definitions
sources/hooks/modules/admin_import/smf2.php
- Convert SMF URLs pasted in text fields into software ones.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$post | string | required parameter | N/A | N/A | The text field text (e.g. a post) |
$db | object | required parameter | N/A | N/A | The database connector to import from |
$table_prefix | string | required parameter | N/A | N/A | The table prefix the target prefix is using |
$file_base | PATH | Blank (empty string) | N/A | N/A | The base directory we are importing from |
Return
- The new text field text
- Type: string
- Set: N/A
- Range: N/A