FEATURE ehnahnving the feature

This commit is contained in:
Nonimart 2025-06-10 15:54:04 +02:00
parent 36914355b4
commit 306e1f898e

View File

@ -22,7 +22,9 @@ add_action('rest_api_init', function () {
function build_revue_authors($request)
{
write_log($request);
$revueID = esc_html($request->get_param('revue-id'));
write_log('revueID');
write_log($revueID);
// $previousActivePage = esc_html($request->get_param('active-page')) ?? 1;
// $activeTermID = esc_html($request->get_param('active-term-id'));
@ -79,6 +81,9 @@ function build_revue_authors($request)
// 'max_num_pages' => $newsPostsDatas->max_num_pages,
// );
$response_data = array(
'message' => 'Hello World',
);
$response = new WP_REST_Response($response_data);