Filter hook 'file_mod_allowed'

in WP Core File wp-includes/load.php at line 1797

Description

Filters whether file modifications are allowed.

Occurrences

Filename Line Number
wp-includes/load.php 1797

Parameters

Type Name Description
bool $file_mod_allowed Whether file modifications are allowed.
string $context The usage context.

PHP Doc

/**
	 * Filters whether file modifications are allowed.
	 *
	 * @since 4.8.0
	 *
	 * @param bool   $file_mod_allowed Whether file modifications are allowed.
	 * @param string $context          The usage context.
	 */