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 20th April 2024 14:05 Europe/London time based on the source file dated 18th April 2024 12:20 Europe/London time.