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



wp_initialize_site_args ›

Desde5.1.0
Obsoleton/a
apply_filters( 'wp_initialize_site_args', $args, $site, $network )
Parâmetros: (3)
  • (array) $args Arguments to modify the initialization behavior.
    Required: Yes
  • (WP_Site) $site Site that is being initialized.
    Required: Yes
  • (WP_Network) $network Network that the site belongs to.
    Required: Yes
Definido em:
Codex:

Filters the arguments for initializing a site.





Fonte

$args = apply_filters( 'wp_initialize_site_args', $args, $site, $network );