Form_Edit_Page_Handler::update_meta_values( string $meta_box_id, array $values )

Callback to update meta values for a specific meta box identifier.

Description

Parameters

$meta_box_id

(string) (Required) Meta box identifier.

$values

(array) (Required) Meta values to store for the meta box.

Source

File: src/db-objects/forms/form-edit-page-handler.php

	public function update_meta_values( $meta_box_id, $values ) {
		if ( ! $this->current_form ) {
			return;
		}

		$this->form_manager->update_meta( $this->current_form->id, $meta_box_id, $values );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.