wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



upgrader_source_selection › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] )
Parameter: (4)
  • (string) $source File source location.
    Erforderlich: Ja
  • (string) $remote_source Remote file source location.
    Erforderlich: Ja
  • (WP_Upgrader) $upgrader WP_Upgrader instance.
    Erforderlich: Ja
  • (array) $hook_extra Extra arguments passed to hooked filters.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the source file location for the upgrade package.





Quellcode

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