update_wpmu_options
Action HookDescription
Fires after the network options are updated.Hook Information
File Location |
wp-admin/network/settings.php
View on GitHub
|
Hook Type | Action |
Line Number | 132 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into update_wpmu_options
add_action('update_wpmu_options', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-admin/network/settings.php:132
- How this hook is used in WordPress core
<?php
127 /**
128 * Fires after the network options are updated.
129 *
130 * @since MU (3.0.0)
131 */
132 do_action( 'update_wpmu_options' );
133
134 wp_redirect( add_query_arg( 'updated', 'true', network_admin_url( 'settings.php' ) ) );
135 exit;
136 }
137
PHP Documentation
<?php
/**
* Fires after the network options are updated.
*
* @since MU (3.0.0)
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-admin/network/settings.php
Related Hooks
Related hooks will be displayed here in future updates.