Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

trim_filename()

Description

Trim a filename that is longer than 255 characters while keeping its extension (if present)

Parameters

ColumnTypeDefaultDescription
$s string
s string File name to trim

Return

string

This article was last updated 27th July 2024 12:05 Europe/London time based on the source file dated 23rd July 2024 11:50 Europe/London time.