Filter the list of filetypes not allowed by the get_file() extension. By default inc, php, php3, php4, php5, phps, and phtml file types are not allowed.
apply_filters("pmpro_getfile_extension_blacklist", array $blacklist); |
Parameters
- $blacklist
- array
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/services/getfile.php
View in Source Code