W3cubDocs

/WordPress

apply_filters( 'file_mod_allowed', bool $file_mod_allowed, string $context )

Filters whether file modifications are allowed.

Parameters

$file_mod_allowed

(bool) Whether file modifications are allowed.

$context

(string) The usage context.

Source

File: wp-includes/load.php

View on Trac

Changelog

Version Description
4.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/file_mod_allowed