Filters the filesystem method to use.
$method, $args, $context, $allow_relaxed_file_ownership
Sortie :
@param string $method Filesystem method to return. @param array $args An array of connection details for the method. @param string $context Full path to the directory that is tested for being writable. @param bool $allow_relaxed_file_ownership Whether to allow Group/World writable.
// Modifier la valeur avec le filtre 'filesystem_method'
add_filter('filesystem_method', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($method) {
// Modifier la valeur
return $method;
}
Chargement des actualités...