HEX
Server: LiteSpeed
System: Linux sg-cp4.cloudnetwork.vn 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64
User: thu28850 (1134)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/thu28850/www/wp-content/plugins/webcake/null-template.php
<?php
/*
Template Name: Null Template - Webcake
Template Post Type: post, page, product, property
*/

ini_set('display_startup_errors', 0);

function webcakeLoadContent() {
	global $wpdb;
	
  $sql = $wpdb->prepare("SELECT post_title, post_name, post_content FROM {$wpdb->posts} WHERE ID = %s", get_the_ID());
  $post = $wpdb->get_row($sql);
  $content = $post->post_content;
  $content = str_replace('< !DOCTYPE html>', '<!DOCTYPE html>', $content);
  //echo $content;
  print($content);
  exit;
}

webcakeLoadContent();
?>