FEATURE ehnahnving the feature
This commit is contained in:
parent
36914355b4
commit
306e1f898e
|
|
@ -22,7 +22,9 @@ add_action('rest_api_init', function () {
|
||||||
function build_revue_authors($request)
|
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;
|
// $previousActivePage = esc_html($request->get_param('active-page')) ?? 1;
|
||||||
// $activeTermID = esc_html($request->get_param('active-term-id'));
|
// $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,
|
// 'max_num_pages' => $newsPostsDatas->max_num_pages,
|
||||||
// );
|
// );
|
||||||
|
|
||||||
|
$response_data = array(
|
||||||
|
'message' => 'Hello World',
|
||||||
|
);
|
||||||
|
|
||||||
$response = new WP_REST_Response($response_data);
|
$response = new WP_REST_Response($response_data);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user