login-form.php
| 1 | <?php |
| 2 | /** |
| 3 | * Login Form pattern. |
| 4 | * |
| 5 | * @link https://sureforms.com |
| 6 | * @since 0.0.1 |
| 7 | * @package SRFM/Templates/Forms |
| 8 | * @author Sureforms <https://sureforms.com/> |
| 9 | */ |
| 10 | |
| 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | exit; // Exit if accessed directly. |
| 13 | } |
| 14 | |
| 15 | return [ |
| 16 | 'title' => __( 'Login Form', 'sureforms' ), |
| 17 | 'info' => __( 'User login form', 'sureforms' ), |
| 18 | 'categories' => [ 'sureforms_form' ], |
| 19 | 'templateCategory' => 'Registration Forms', |
| 20 | 'postTypes' => SRFM_FORMS_POST_TYPE, |
| 21 | 'content' => '<!-- wp:srfm/input {"block_id":"a9d3f6bc","label":"Email","formId":21} /--><!-- wp:srfm/password {"block_id":"6cb53a65","formId":21} /-->', |
| 22 | 'id' => 'form-7', |
| 23 | 'isPro' => false, |
| 24 | ]; |
| 25 |