Action hook 'wpmu_blog_updated'

in WP Core File wp-includes/ms-blogs.php at line 35

View Source

wpmu_blog_updated

Action Hook
Description
Fires after the blog details are updated.

Hook Information

File Location wp-includes/ms-blogs.php View on GitHub
Hook Type Action
Line Number 35

Hook Parameters

Type Name Description
int $blog_id Site ID.

Usage Examples

Basic Usage
<?php
// Hook into wpmu_blog_updated
add_action('wpmu_blog_updated', 'my_custom_function', 10, 1);

function my_custom_function($blog_id) {
    // Your custom code here
}

Source Code Context

wp-includes/ms-blogs.php:35 - How this hook is used in WordPress core
<?php
  30  	 *
  31  	 * @since MU (3.0.0)
  32  	 *
  33  	 * @param int $blog_id Site ID.
  34  	 */
  35  	do_action( 'wpmu_blog_updated', $site_id );
  36  }
  37  
  38  /**
  39   * Gets a full site URL, given a site ID.
  40   *

PHP Documentation

<?php
/**
	 * Fires after the blog details are updated.
	 *
	 * @since MU (3.0.0)
	 *
	 * @param int $blog_id Site ID.
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 1
  • File: wp-includes/ms-blogs.php
Related Hooks

Related hooks will be displayed here in future updates.