wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
pre_get_main_site_id › Les Filtres WordPress
Depuis4.9.0
Dépréciéen/a
› apply_filters( 'pre_get_main_site_id', null, $this )
Paramètres: (2) |
|
Défini(e) dans: |
|
Codex: |
Filters the main site ID.
Returning a positive integer will effectively short-circuit the function.
Fonctions en relation: get_main_site_id, get_main_network_id, wp_get_duotone_filter_id, is_main_site, wp_get_sites, wp_get_admin_notice
Hooks en relation: pre_get_sites, pre_get_document_title, pre_get_site_by_path, pre_get_space_used, pre_get_avatar_data