This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form_id = 7; | |
$fields = Forminator_API::get_form_fields( 7 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form_id = 7; | |
$id = 'wrapper-1511347711918-1669'; | |
Forminator_API::delete_form_wrapper( $form_id, $id ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form_id = 7; | |
$id = 'wrapper-1511347711918-1669'; | |
$new_position = 3; | |
Forminator_API::move_form_wrapper( $form_id, $id, $new_position ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form_id = 7; | |
$wrapper_id = 'wrapper-1511347712118-1739'; | |
$fields = Forminator_API::get_form_wrapper( 7, 'wrapper-1511347712118-1739' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form_id = 7; | |
$fields = Forminator_API::get_form_wrappers( $form_id ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Main container | |
"form-padding-top" : "0", | |
"form-padding-right" : "0", | |
"form-padding-bottom" : "0", | |
"form-padding-left" : "0", | |
"form-border-width" : "0", | |
"form-border-style" : "none", | |
"form-border-radius" : "0", | |
// Typography - Label | |
"cform-label-font-family" : "Roboto", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$results = array( | |
array( | |
"title" => "Van", | |
"order" => 0, | |
"slug" => "Van", | |
"image" => "http://localhost/forminator/wp-content/uploads/2018/01/10719770_hi-222x300.jpeg", | |
"description" => "You better buy a VAN" | |
), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$results = array( | |
array( | |
"title" => "Van", | |
"order" => 0, | |
"slug" => "Van", | |
"image" => "http://localhost/forminator/wp-content/uploads/2018/01/10719770_hi-222x300.jpeg", | |
"description" => "You better buy a VAN" | |
), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$quiz_ids = array( 12, 34, 56, 78, 90 ); | |
$forms = Forminator_API::delete_quizzes( $quiz_ids ); // Method 1 to delete specific forms | |
$forms = Forminator_API::delete_quizzes( 12, 34, 56, 78, 90 ); // Method 2 to delete specific forms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$forms = Forminator_API::get_quizzes(); // Method 1 to get all quizzes | |
$quiz_ids = array( 12, 34, 56, 78, 90 ); | |
$forms = Forminator_API::get_quizzes( $quiz_ids ); // Method 2 to get specific quizzes | |
$forms = Forminator_API::get_quizzes(12, 34, 56, 78, 90 ); // Method 3 to get specific quizzes |