WordPress hook directory
pre_get_main_site_id

WordPress version history for pre_get_main_site_id

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
4.9 wp-includes/class-wp-network.php 225 View in context filter
5.0 wp-includes/class-wp-network.php 225 View in context filter
5.1 wp-includes/class-wp-network.php 225 View in context filter

Related Hooks

We find related hooks using word stems. pre_get_main_site_id has 3 significant word stem(s): main, site, id. Note that some of the hooks below may not appear in all versions of WP.