Core Function
View Source on Trac ↗ wp_is_file_mod_allowed()
wp_is_file_mod_allowed( mixed $context ) Determines whether file modifications are allowed.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $context string | The usage context. Required |
Return Value
(bool)
True if file modification is allowed, false otherwise.
Function Information
Since Version
4.8.0
Source File
wp-includes/load.php
Advertisement