# bit-form/V-3.3.0/includes/Admin/Form/AdminFormManager.php

Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator &amp; Custom Form Builder, version V-3.3.0. 54 lines.

- Page: https://pluginprobe.com/plugins/bit-form/V-3.3.0/code/includes/Admin/Form/AdminFormManager.php
- Raw: https://pluginprobe.com/plugins/bit-form/V-3.3.0/raw/includes/Admin/Form/AdminFormManager.php
- Modified: 2026-08-27T13:24:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bit-form/V-3.3.0/code/includes/Admin/Form/AdminFormManager.php#L10-L20`.

```php
<?php

/**
 * Get set Form,fields
 */

namespace BitCode\BitForm\Admin\Form;

/**
 * FrontendFormManager class
 */
use BitCode\BitForm\Core\Form\FormManager;

final class AdminFormManager extends FormManager
{
  public function __construct($form_id)
  {
    parent::__construct($form_id);
  }

  /**
   * Pinned to raw: the builder saves back what it reads, so a translated string
   * reaching it would overwrite the stored source language.
   *
   * @return string
   */
  protected function getEffectiveFormContentJson()
  {
    // $this->form is a WP_Error when the form was not found; indexing it here
    // fataled for callers that pass an unknown or empty form id
    $raw = $this->isExist() ? ($this->form[0]->form_content ?? '') : '';
    return is_string($raw) ? $raw : '';
  }

  public function getFormMetaData()
  {
    if (!$this->isExist()) {
      return [
        'created_at' => null,
        'views'      => null,
        'entries'    => null,
        'status'     => null
      ];
    }

    return [
      'created_at' => $this->form[0]->created_at,
      'views'      => $this->form[0]->views,
      'entries'    => $this->form[0]->entries,
      'status'     => $this->form[0]->status
    ];
  }
}

```
