just add below code in wordpress theme function.php file at the bottom
--------------------------------------------------
Add the following code to functions.php (anyone)
--------------------------------------------------
if( ! is_user_logged_in() ) {
remove_action('rest_api_init', 'create_initial_rest_routes', 99);
}
-----------------------------------
OR
-----------------------------------
remove_action('rest_api_init', 'create_initial_rest_routes', 99);
------------------------------------------
Check if your site's username is exposed
------------------------------------------
website-URL.com/wp-json/wp/v1/users
website-URL.com/wp-json/wp/v2/users
website-URL.com/wp-json/ remove_action('rest_api_init','create_initial_rest_routes',99); Creating dependent dropdowns in CakePHP 2 involves using AJAX to dynamically load data into the…
just add below code in column properties id Default input Method: 1nextval('form_submissions_id_seq'::regclass) Method: 2 Via…
Learn how to efficiently set up auto-increment columns in PostgreSQL with this step-by-step guide. From…