src/data.php
public static function update_registry( $new_value, $id ) {
		$registry = self::get_registry();
		$registry[ $id ] = $new_value;

		return update_option( self::$registry_option_name, $registry );

	}
public static function update_registry( $new_value, $id ) {
		$registry = self::get_registry();
		$registry[ $id ] = $new_value;

		return update_option( self::$registry_option_name, $registry );

	}
public static function update_registry ( $ new_value , $ id ) { $ registry = self :: get_registry ( ) ; $ registry [ $ id ] = $ new_value ; return update_option ( self :: $ registry_option_name , $ registry ) ; }
Update registry of metaplates

Note: Does not save the metaplate itself.

@param array $new_value The new item to add.
@param string $id Id of new item to add.

@return bool
Update registry of metaplates