HEX
Server: nginx/1.24.0
System: Linux 19.178.153.160.host.secureserver.net 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: www-data (33)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //tmp/update_pages.php
<?php
require_once('/var/www/sunsandholidays.com/wp-load.php');

$terms_content = file_get_contents('/tmp/terms_content.html');
$refund_content = file_get_contents('/tmp/refund_content.html');

wp_update_post(array(
    'ID' => 6346,
    'post_content' => $terms_content,
    'post_title' => 'Terms and Conditions',
    'post_name' => 'terms-and-conditions',
));

wp_update_post(array(
    'ID' => 6347,
    'post_content' => $refund_content,
    'post_title' => 'Refund Policy',
    'post_name' => 'refund-policy',
));

echo "Updated Terms (6346): " . strlen($terms_content) . " chars\n";
echo "Updated Refund (6347): " . strlen($refund_content) . " chars\n";
echo "Done\n";