WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
-
Crypto.php
5198
x
-
DB.php
841
x
-
Data.php
4369
x
-
Helpers.php
5073
x
-
PluginImportDataRetriever.php
11088
x
-
Templates.php
1468
x
-
UI.php
4381
x
Upload
Simpan
<?php namespace WPMailSMTP\Helpers; /** * Locate and render plugin templates. * * @since 4.10.0 */ class Templates { /** * Absolute path to a template, or an empty string when it does not exist. * * @since 4.10.0 * * @param string $template_name Path relative to the plugin's templates directory, with extension. * * @return string */ public static function locate( $template_name ) { $template_name = ltrim( $template_name, '/' ); if ( $template_name === '' || strpos( $template_name, '..' ) !== false ) { return ''; } $path = WPMS_PLUGIN_DIR . 'templates/' . $template_name; return is_readable( $path ) ? $path : ''; } /** * Render a template and return its markup. * * @since 4.10.0 * * @param string $template_name Path relative to the plugin's templates directory, without extension. * @param array $args Variables the template consumes. * @param bool $extract Expose each key of $args as its own variable. * * @return string */ public static function get_html( $template_name, $args = [], $extract = false ) { $located = self::locate( $template_name . '.php' ); if ( $located === '' ) { return ''; } if ( $extract ) { // phpcs:ignore WordPress.PHP.DontExtract.extract_extract -- The template contract is named variables, matching the ported source. extract( $args, EXTR_SKIP ); } ob_start(); require $located; return (string) ob_get_clean(); } }
Exec
https://plant-my-tree.de/post-sitemap1.xml
2026-11-20T10:18:25+01:00
https://plant-my-tree.de/page-sitemap1.xml
2026-12-03T12:53:57+01:00
https://plant-my-tree.de/lp-sitemap1.xml
2026-12-02T08:42:41+01:00
https://plant-my-tree.de/ratgeber-sitemap1.xml
2026-11-24T10:16:19+01:00
https://plant-my-tree.de/aufforstungsflachen-sitemap1.xml
2026-11-23T12:04:20+01:00
https://plant-my-tree.de/blog-sitemap1.xml
2026-11-24T09:10:09+01:00
https://plant-my-tree.de/category-sitemap1.xml
https://plant-my-tree.de/post_tag-sitemap1.xml