wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
pre_get_main_site_id › WordPress Filter Hooks
Da4.9.0
Deprecaton/a
› apply_filters( 'pre_get_main_site_id', null, $this )
Parametri: (2) |
|
Definito a: |
|
Codex: |
Filters the main site ID.
Returning a positive integer will effectively short-circuit the function.
Funzioni correlate: get_main_site_id, get_main_network_id, wp_get_duotone_filter_id, is_main_site, wp_get_sites, wp_get_admin_notice
Hooks correlati: pre_get_sites, pre_get_document_title, pre_get_site_by_path, pre_get_space_used, pre_get_avatar_data