Form::__construct( awsmug\Torro_Forms\DB_Objects\Forms\Form_Manager $manager, WP_Post|null $db_obj = null )

Constructor.

Description

Sets the ID and fetches relevant data.

See also

Parameters

$manager

(awsmug\Torro_Forms\DB_Objects\Forms\Form_Manager) (Required) The manager instance for the model.

$db_obj

(WP_Post|null) (Optional) The database object or null for a new instance.

Default value: null

Source

File: src/db-objects/forms/form.php

	public function __construct( $manager, $db_obj = null ) {
		parent::__construct( $manager, $db_obj );

		$this->redundant_prefix = 'post_';
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.