-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
censorText
Description
This function handles all the censored words.
Syntax
string censorText (string &$text)
Parameter &$text
Expected type: String
Description: The text to censor
Return value
Expected type: String
Description: Returns either the censored version of the text or the original text if censored words have been disabled or there are no censored words entries.
Notes
- Function is called by reference - if you wish to apply other functions to the censored text, you must first assign this to a variable and then perform the other functions on the variable.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.120 seconds with 13 queries.
- Forum Search