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.

Top ↑

Source

File: wp-includes/load.php. View all references

return apply_filters( 'file_mod_allowed', ! defined( 'DISALLOW_FILE_MODS' ) || ! DISALLOW_FILE_MODS, $context );


Top ↑

Changelog

Changelog
Version Description
4.8.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.