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 5th May 2024 13:35 Europe/London time based on the source file dated 3rd May 2024 14:45 Europe/London time.