Form_Edit_Page_Handler::get_meta_values( string $meta_box_id )

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

Description

Parameters

$meta_box_id

(string) (Required) Meta box identifier.

Return

(array) Meta values stored for the meta box.

Source

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

	public function get_meta_values( $meta_box_id ) {
		if ( ! $this->current_form ) {
			return array();
		}

		return $this->form_manager->get_meta( $this->current_form->id, $meta_box_id, true );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.