wpseek.com
WordPress开发者和主题制作者的搜索引擎
pre_get_main_site_id › WordPress过滤钩子
Since4.9.0
已弃用n/a
› apply_filters( 'pre_get_main_site_id', null, $this )
参数: (2) |
|
定义在: |
|
文档: |
Filters the main site ID.
Returning a positive integer will effectively short-circuit the function.
Related Functions: get_main_site_id, get_main_network_id, wp_get_duotone_filter_id, is_main_site, wp_get_sites, wp_get_admin_notice
Related Hooks: pre_get_sites, pre_get_document_title, pre_get_site_by_path, pre_get_space_used, pre_get_avatar_data