Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: after_populate_network

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1206       * @since 6.9.0
1207       *
1208       * @param int    $network_id        ID of network created.
1209       * @param string $domain            The domain name for the network.
1210       * @param string $email             Email address for the network administrator.
1211       * @param string $site_name         The name of the network.
1212       * @param string $path              The path to append to the network's domain name.
1213       * @param bool   $subdomain_install Whether the network is a subdomain installation or a subdirectory installation.
1214       */
1215      do_action( 'after_populate_network', $network_id, $domain, $email, $site_name, $path, $subdomain_install );
1216
1217      return true;
1218 }
1219
1220 /**
1221  * Creates WordPress network meta and sets the default values.
1222  *
1223  * @since 5.1.0
1224  *