views/noticias/wp-content/plugins/gutentor/includes/admin/class-helper.php
/**

		 * Updates an option from the admin settings page.

		 *

		 * @param string $key       The option key.

		 * @param mixed  $value     The value to update.

		 * @param bool   $network   Whether to allow the network admin setting to be overridden on subsites.

		 * @return void

		 */
Updates an option from the admin settings page.

@param string $key       The option key.
@param mixed  $value     The value to update.
@param bool   $network   Whether to allow the network admin setting to be overridden on subsites.
@return void
Updates an option from the admin settings page . @param string $key The option key . @param mixed $value The value to update . @param bool $network Whether to allow the network admin setting to be overridden on subsites . @return void
public static function update_option( $key, $value, $network = false ) {
			if ( $network && is_multisite() ) {
				update_site_option( $key, $value );
			} else {
				update_option( $key, $value );
			}
		}
public static function update_option ( $ key , $ value , $ network = false ) { if ( $ network && is_multisite ( ) ) { update_site_option ( $ key , $ value ) ; } else { update_option ( $ key , $ value ) ; } }
Updates an option from the admin settings page.
Updates an option from the admin settings page .
// Update the site-wide option since we're in the network admin.