A WordPress-centric search engine for devs and theme authors



upgrader_source_selection ›

Since4.4.0
Deprecatedn/a
apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] )
Parameters: (4)
  • (string) $source File source location.
    Required: Yes
  • (string) $remote_source Remote file source location.
    Required: Yes
  • (WP_Upgrader) $this WP_Upgrader instance.
    Required: Yes
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Required: Yes
Defined at:
Codex:

Filters the source file location for the upgrade package.





Source

$source = apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] );