Submission_Edit_Page::render_header()

Renders the edit page header.

Description

Source

File: src/db-objects/submissions/submission-edit-page.php

	protected function render_header() {
		$primary_property = $this->model_manager->get_primary_property();
		if ( ! empty( $this->model->$primary_property ) ) {
			/* translators: %s: submission ID prefixed with a # */
			$this->title = sprintf( __( 'Edit Submission %s', 'torro-forms' ), '#' . $this->model->$primary_property );
		}

		parent::render_header();
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.