Skip to content

Instantly share code, notes, and snippets.

@bappi-d-great
Created July 6, 2018 06:51
Show Gist options
  • Save bappi-d-great/624fcd311b1b2d95b5cdf30ea4a8e863 to your computer and use it in GitHub Desktop.
Save bappi-d-great/624fcd311b1b2d95b5cdf30ea4a8e863 to your computer and use it in GitHub Desktop.
Method: get_quizzes( $quiz_ids = null )
<?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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment