/wp-admin/includes/ms-admin-filters.php

  1. <?php 
  2. /** 
  3. * Multisite Administration hooks 
  4. * 
  5. * @package WordPress 
  6. * @subpackage Administration 
  7. * @since 4.3.0 
  8. */ 
  9.  
  10. // Media Hooks. 
  11. add_filter( 'wp_handle_upload_prefilter', 'check_upload_size' ); 
  12.  
  13. // User Hooks 
  14. add_action( 'admin_notices', 'new_user_email_admin_notice' ); 
  15. add_action( 'user_admin_notices', 'new_user_email_admin_notice' ); 
  16.  
  17. add_action( 'admin_page_access_denied', '_access_denied_splash', 99 ); 
  18.  
  19. add_action( 'add_option_new_admin_email', 'update_option_new_admin_email', 10, 2 ); 
  20.  
  21. add_action( 'personal_options_update', 'send_confirmation_on_profile_email' ); 
  22.  
  23. add_action( 'update_option_new_admin_email', 'update_option_new_admin_email', 10, 2 ); 
  24.  
  25. // Site Hooks. 
  26. add_action( 'wpmueditblogaction', 'upload_space_setting' ); 
  27.  
  28. // Taxonomy Hooks 
  29. add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 ); 
  30.  
  31. // Post Hooks. 
  32. add_filter( 'wp_insert_post_data', 'avoid_blog_page_permalink_collision', 10, 2 ); 
  33.  
  34. // Tools Hooks. 
  35. add_filter( 'import_allow_create_users', 'check_import_new_users' ); 
  36.  
  37. // Notices Hooks 
  38. add_action( 'admin_notices', 'site_admin_notice' ); 
  39. add_action( 'network_admin_notices', 'site_admin_notice' ); 
  40.  
  41. // Update Hooks 
  42. add_action( 'network_admin_notices', 'update_nag', 3 ); 
  43. add_action( 'network_admin_notices', 'maintenance_nag', 10 ); 
.