add_site_option_{$option}

add_site_option_{$option}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('add_site_option_{$option}') is found 1 times:

  • /wp-includes/option.php line 2203
    		 * @param string $option     Name of the network option.
    		 * @param mixed  $value      Value of the network option.
    		 * @param int    $network_id ID of the network.
    		 */
    		do_action( "add_site_option_{$option}", $option, $value, $network_id );
    
    		/**
    		 * Fires after a network option has been successfully added.
    		 *
    		 * @since 3.0.0
    		 * @since 4.7.0 The `$network_id` parameter was added.