Filters the package options before running an update.
Description
See also ‘upgrader_process_complete’.
Parameters
$optionsarray- Options used by the upgrader.
packagestringPackage for update.destinationstringUpdate location.clear_destinationboolClear the destination resource.clear_workingboolClear the working resource.abort_if_destination_existsboolAbort if the Destination directory exists.is_multiboolWhether the upgrader is running multiple times.hook_extraarrayExtra hook arguments.actionstringType of action. Default'update'.typestringType of update process. Accepts'plugin','theme', or'core'.bulkboolWhether the update process is a bulk update. Default true.pluginstringPath to the plugin file relative to the plugins directory.themestringThe stylesheet or template name of the theme.language_update_typestringThe language pack update type. Accepts'plugin','theme', or'core'.language_updateobjectThe language pack update offer.
Source
$options = apply_filters( 'upgrader_package_options', $options );Changelog
Version Description 4.3.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.