manifest / integrations / custom-endpoint
Custom Endpoint
To create a custom endpoint link and display the user datas by using api.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/kamalsgit/custom-endpoint/archive/refs/heads/master.zipAlso on Packagist as endpointlink/custom-endpoint:
composer require endpointlink/custom-endpointFrom the readme
Installation
You can install this plugin manually through (via) wordpess back/admin end. It will also support with composer and can be installed through (via) Composer which means, it can be installed by adding the below code in the composer.json
or via command line with:
Description
Based on your task requirement, I have created a custom endpoint url and listed the users and in addition to that, I have also listed specific user's comments/posts (Additional features) using Api.
This is the custom endpoint url : https://mydomain.com/user-list.
API Reference
I did get the user list from the following api references (https://jsonplaceholder.typicode.com/)
Features
I have shown the dropdown in the following link https://mydomain.com/user-list.
By default, we are displaying the user lists and once you change the value in dropdown then the result will be shown at this link (https://mydomain.com/user-list) based on the dropdown value you selected.
And if you click on any of the features like username / name/id, e.t.c then it will show the corresponding user details without a page load.
I have shown all the result data in the table formats and used css styles to