PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / 4.0.8
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More v4.0.8
4.1.0 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / src / gutenberg / form / class-form-submission-cpt.php
superb-blocks / src / gutenberg / form Last commit date
class-form-access-control.php 1 month ago class-form-captcha-handler.php 1 month ago class-form-controller.php 1 month ago class-form-email-config-check.php 1 month ago class-form-email-handler.php 1 month ago class-form-encryption.php 1 month ago class-form-exporter.php 1 month ago class-form-field-validator.php 1 month ago class-form-file-handler.php 1 month ago class-form-google-auth.php 1 month ago class-form-integration-handler.php 1 month ago class-form-math-parser.php 1 month ago class-form-permissions.php 1 month ago class-form-registry.php 1 month ago class-form-settings.php 1 month ago class-form-submission-cpt.php 1 month ago class-form-submission-handler.php 1 month ago
class-form-submission-cpt.php
31 lines
1 <?php
2
3 namespace SuperbAddons\Gutenberg\Form;
4
5 defined('ABSPATH') || exit();
6
7 class FormSubmissionCPT
8 {
9 const POST_TYPE = 'spb_form_submission';
10
11 public static function Initialize()
12 {
13 add_action('init', array(__CLASS__, 'RegisterPostType'));
14 }
15
16 public static function RegisterPostType()
17 {
18 register_post_type(self::POST_TYPE, array(
19 'labels' => array(
20 'name' => __('Form Submissions', 'superb-blocks'),
21 'singular_name' => __('Form Submission', 'superb-blocks'),
22 ),
23 'public' => false,
24 'show_ui' => false,
25 'show_in_menu' => false,
26 'supports' => array('title'),
27 'capability_type' => 'post',
28 ));
29 }
30 }
31