How to send contact from data direct to email without saving it on database, in WordPress Contact Forms?

I am currently using WordPress’s API to integrate it with Vue.Js, and the request is that contact form which I am using should not save any data to WordPress CMS, it only need to submit it at email. I am using: Contact Form 7 Plugin for WordPress! Is there a possible way to do that?… Read More How to send contact from data direct to email without saving it on database, in WordPress Contact Forms?

WordPress: How to make private access to REST API with JWT Auth plugin

I downloaded, installed and activated the plugin "JWT Authentication for the WP REST API". And I see how I can obtain JWT access token when sending credentials from the client. But I don’t see how to use the plugin with the existing WordPress REST API. For example, if I follow by the link like /wp-json/wp/v2/posts… Read More WordPress: How to make private access to REST API with JWT Auth plugin

What is the meaning of `user=locale` in WordPress?

I’m looking at wp-admin\js\application-passwords.jsand I’m trying to reuse this JS file on the frontend. But in the code, there’s like, wp.apiRequest( { path: ‘/wp/v2/users/’ + userId + ‘/application-passwords?_locale=user’, method: ‘POST’, data: request What is _locale=user for? Is that for authentication cos I’m looking for a way to send authenticate details to the REST API for… Read More What is the meaning of `user=locale` in WordPress?

WordPress API passing email argument issue

Using a WordPress REST API custom endpoint, I am attempting to get user data (or at least the user id) with the following code in the functions.php file: function getUser(WP_REST_Request $request) { global $wpdb; $email = $request->get_param( ’email’ ); $query = "SELECT * FROM wp_users WHERE user_email = $email"; $result = $wpdb->get_results($query); return $result; }… Read More WordPress API passing email argument issue