wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_get_blogs_of_user › WordPress Filter Hooks
Since4.6.0
Deprecatedn/a
› apply_filters( 'pre_get_blogs_of_user', null, $user_id, $all )
Parameters: (3) |
|
Defined at: |
|
Codex: |
Filters the list of a user's sites before it is populated.
Returning a non-null value from the filter will effectively short circuit get_blogs_of_user(), returning that value instead.
Related Functions: get_blogs_of_user, get_active_blog_for_user, get_blog_post, get_blog_id_from_url, get_blog_count, wp_get_block_css_selector
Related Hooks: get_blogs_of_user, pre_get_space_used, pre_get_terms, get_bloginfo_rss, pre_get_sites