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

strip_paragraph_tags()

Description

Remove paragraph tags from start and end of text

Parameters

ColumnTypeDefaultDescription
$text: string
'

'

'

';
* p *
div
$tag string
$text string HTML string

Return

string Returns the text without surrounding <p> and </p> tags.

This article was last updated 27th April 2024 21:35 Europe/London time based on the source file dated 26th April 2024 15:50 Europe/London time.