Form_Category::__construct( awsmug\Torro_Forms\DB_Objects\Form_Categories\Leaves_And_Love\Plugin_Lib\DB_Objects\Manager $manager, awsmug\Torro_Forms\DB_Objects\Form_Categories\WP_Post|null $db_obj = null )

Constructor.

Description

Sets the ID and fetches relevant data.

See also

Parameters

$manager

(awsmug\Torro_Forms\DB_Objects\Form_Categories\Leaves_And_Love\Plugin_Lib\DB_Objects\Manager) (Required) The manager instance for the model.

$db_obj

(awsmug\Torro_Forms\DB_Objects\Form_Categories\WP_Post|null) (Optional) The database object or null for a new instance.

Default value: null

Source

File: src/db-objects/form-categories/form-category.php

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

		$this->redundant_prefix = 'term_';
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.