wp_initialize_site_args

wp_initialize_site_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_initialize_site_args') is found 1 times:

  • /wp-includes/ms-site.php line 698
    	 * @param array      $args    Arguments to modify the initialization behavior.
    	 * @param WP_Site    $site    Site that is being initialized.
    	 * @param WP_Network $network Network that the site belongs to.
    	 */
    	$args = apply_filters( 'wp_initialize_site_args', $args, $site, $network );
    
    	$orig_installing = wp_installing();
    	if ( ! $orig_installing ) {
    		wp_installing( true );
    	}