wip: Working preview request

This commit is contained in:
2025-09-24 08:58:23 -04:00
parent 67118cd6c0
commit b11e1b3dc4

View File

@@ -1 +1,5 @@
<pre><?php var_dump( get_row( true ) ); ?></pre> <?php
$preview_url = ( defined( 'NUXT_PUBLIC_SITE_URL' ) ? NUXT_PUBLIC_SITE_URL : 'https://cultureat.ca' ) . '/api/acf-preview';
$result = wp_remote_get( $preview_url, array( 'method' => 'POST' ) );
?>
<pre><?= $result['body'] ?></pre>