wphooks.info - customize_save_{$id_base}

customize_save_{$id_base}

*** New in v4.8 ***

The hook occurs in the following file:

wp-includes/class-wp-customize-setting.php:
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
		/**
		 * Fires when the WP_Customize_Setting::save() method is called.
		 *
		 * The dynamic portion of the hook name, `$id_base` refers to
		 * the base slug of the setting name.
		 *
		 * @since 3.4.0
		 *
		 * @param WP_Customize_Setting $this WP_Customize_Setting instance.
		 */
		do_action( "customize_save_{$id_base}", $this );

		$this->update( $value );
	}

	/**
	 * Fetch and sanitize the $_POST value for the setting.
	 *
	 * During a save request prior to save, post_value() provides the new value while value() does not.
	 *