file_mod_allowed

file_mod_allowed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('file_mod_allowed') is found 1 times:

  • /wp-includes/load.php line 1772
    	 *
    	 * @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.0