It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
MPFT :: sanitize( Array / String $args = array() )
- String The sanitized string.
Calls the sanitize_title_with_dashes WordPress function on the field value, with some optional post-processing.
Array / String $args = array()
An args array (compatible with wp_parse_args) with the following options:
- with – the character to sanitize with (default “-“)
- remove_single_quotes – defaults to “true”