It seems we can’t find what you’re looking for. Perhaps searching can help.
function custom_min_income_endpoint($data) {
$post_id = $data['id'];
$income = get_post_meta($post_id, 'min_income', true);
return new WP_REST_Response(['min_income' => $income ? $income : 'not available'], 200);
}
add_action('rest_api_init', function() {
register_rest_route('custom/v1', '/min_income/(?P It seems we can’t find what you’re looking for. Perhaps searching can help.Location: Blue Downs
Nothing Found