PHP Classes

File: includes/helpers.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Ade WordPress Coming Soon Page Plugin   includes/helpers.php   Download  
File: includes/helpers.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Ade WordPress Coming Soon Page Plugin
WordPress plugin to generate coming soon pages
Author: By
Last change:
Date: 3 months ago
Size: 606 bytes
 

Contents

Class file image Download
<?php
//security
if (!defined('ABSPATH')) {
    exit;
}

//AdeComingSoonPage::get_template_content
//check if function exist get_ade_coming_soon_template_content
if (!function_exists('get_ade_coming_soon_template_content')) {
   
/**
     * Get template content
     *
     * @param string $template_name
     * @param array $args
     *
     * @return string
     */
   
function get_ade_coming_soon_template_content(string $template_name, array $args = array())
    {
       
$adecomingsoon = new AdeComingSoonPage();
        return
$adecomingsoon->get_template_content($template_name, $args);
    }
}