Clanbite Since 1.6.0

filter_update( array<string, mixed>|false $update, array $plugin_data, string $plugin_file, array $locales ): array<string, mixed>|false

update_plugins_{host} callback.

public static

Class: Kernowdev\Clanbite\Updates\Updater

Parameters

$update (array<string, mixed>|false) Required

Update data so far.

$plugin_data (array<string, mixed>) Required

Plugin headers.

$plugin_file (string) Required

Plugin file relative to the plugins directory.

$locales (string[]) Required

Installed locales.

Returns

array<string, mixed>|false

Defined in inc/updates/class-updater.php

Changelog

VersionDescription
1.6.0Introduced.