add_site_option

add_site_option

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.6.2

do_action('add_site_option') is found 1 times:

  • /wp-includes/option.php line 2192
    		 * @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, $value, $network_id );
    
    		return true;
    	}
    
    	return false;
    }
    

See this hook used in plugins: