TwistPHP Documentation

stripTags

File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
Extends:

stripTagsRemove all the style tags, html tags and then decode any HTML entities

Parameters

Name Type Description
$strHtmlContentstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strHtmlContent 'foo';

//Call the function stripTags with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> stripTags($strHtmlContent);