wp_is_file_mod_allowed

Advertisement

Summery Summery

Determines whether file modifications are allowed.

Syntax Syntax

wp_is_file_mod_allowed( string $context )

Parameters Parameters

$context

(Required) The usage context.

Return Return

(bool) True if file modification is allowed, false otherwise.

Source Source

File: wp-includes/load.php

/**
 * Determines whether the current request is a WordPress cron request.
 *
 * @since 4.8.0
 *
 * @return bool True if it's a WordPress cron request, false otherwise.
 */
function wp_doing_cron() {
	/**
	 * Filters whether the current request is a WordPress cron request.

Advertisement

Changelog Changelog

Changelog
Version Description
4.8.0 Introduced.

Advertisement

Leave a Reply