PHP Classes

File: includes/helper.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Biggidroid Contact for WordPress   includes/helper.php   Download  
File: includes/helper.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Biggidroid Contact for WordPress
Add contact forms to WordPress site pages
Author: By
Last change:
Date: 1 month ago
Size: 607 bytes
 

 

Contents

Class file image Download
<?php
//check for security
if (!defined('WPINC')) {
    die(
'Cant access file directly');
}

//check if get_biggidroid_form_fields function is already defined
if (!function_exists('get_biggidroid_form_fields')) {
   
/**
     * Get BiggiDroid Form Fields
     * @param int $post_id
     *
     * @return array
     */
   
function get_biggidroid_form_fields($post_id)
    {
       
//get biggidroid contact form
       
$biggidroid_contact_form = BiggiDroidContactForm::getInstance();
       
//get biggidroid form fields
       
return $biggidroid_contact_form->getBiggiDroidFormFields($post_id);
    }
}