Uma área de pesquisa sobre o WordPress para devs e autores do tema



upgrader_source_selection ›

Desde4.4.0
Obsoleton/a
apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] )
Parâmetros: (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
Definido em:
Codex:

Filters the source file location for the upgrade package.





Fonte

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