Filters whether file modifications are allowed.
$file_mod_allowedbool$contextstringwp-includes/load.php:1836wp_is_file_mod_allowed() * * @since 4.8.0 * * @param bool $file_mod_allowed Whether file modifications are allowed. * @param string $context The usage context. */ return apply_filters( 'file_mod_allowed', ! defined( 'DISALLOW_FILE_MODS' ) || ! DISALLOW_FILE_MODS, $context );} /** * Starts scraping edited file errors. * * @since 4.9.0Introduced in 4.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.