All Questions
Tagged with wordpress-plugin-creation wordpress-rest-api
23 questions
0
votes
0
answers
38
views
Add new suscriber with Mailster but no is added into data base
I've created a custom WordPress theme and I'm working with Mailster plugin.
According to the documentation if you want to add a new subscriber then you can add to the Mailter list which you've created ...
0
votes
1
answer
168
views
how to show api data in wordpress?
I want a plugin to receive a nested json file from a url and display its information in the form of paged cards with ajax search capability.
Is there such a plugin?
I tested the wpDataTable plugin, ...
0
votes
1
answer
393
views
WordPress nonce validation fail with AJAX calls
I am creating a payment plugin that integrates with a payment aggregator. So in the case of wooCommerce checkout, There's a possibility for the payer to pay to through mobile wallets, which would ...
0
votes
1
answer
970
views
Greenhouse job board integration on wordpress website
I want to integrate greenhouse job board on my company's wordpress website. All greenhouse configurations are in place. There are no reliable plugins in wordpress for this task. This is how the ...
0
votes
0
answers
36
views
I have issue to retrive post thumbnail with rest api
i have two site. main site and blog site. both of them are wordpress. i want show my latest post from
blog site to main site. but I have issue to retrieve post thumbnail.
all thing is OK except ...
0
votes
2
answers
1k
views
How to make Wordpress REST API custom endpoint public?
I'd like to make a custom endpoint via plugin but it's not working for the anonymous user. How do you make it publicly accessible? If that's not possible then how do you login via command line?
I've ...
3
votes
2
answers
6k
views
Error: Minified React error #321 on Wordpress custom block plugin
Whenever I write a useEffect() inside a component function of my block plugin, the edit page goes blank and the console logs the message:
react_devtools_backend.js:4026 Error: Minified React error #...
2
votes
2
answers
1k
views
My_Cutsom_Table::prepare_items($registrations) must be compatible with WP_List_Table::prepare_items()
I wrote a custom plugin and trying to extend WP_List_Table. Its worked fine in older WordPress versions, But when i upgraded to wordpress 6.0 am getting following erro.
My_Cutsom_Table::prepare_items($...
0
votes
0
answers
84
views
I want to see the username of a person in the response JSON of a Login API
there I am new to WordPress.
I have created a Login API, using the plugin called simple jwt login, but it returns me the response like this.
{
"success": true,
"data": {
"jwt&...
1
vote
0
answers
86
views
getting Amadeus API Error in WordPress : 403 forbidden, code: 35283
I'm new to Amadeus development. I'm using Amadeus Self service API's to get flights search from searched term. Everything used to work fine, but from today, if i call an api, I'm receiving error 403 ...
1
vote
1
answer
5k
views
How do I run Node.js code in a Wordpress plugin?
I am working on a Wordpress plugin that let's an admin add a button that runs some Node.js code. I can't figure out how to run Node.js code through a plugin. Is there a good place to start?
2
votes
1
answer
140
views
Is it possible to trigger injection of <script> to multiple wordpress posts from a plugin?
I am trying to inject a <script> into multiple wordpress posts using my plugin, which is created
with react as a frontend.
This is all I have tried to achieve this, but nothing seems to work.
...
-1
votes
1
answer
1k
views
i am adding add_action inside a model of wordpress plugin but it is showing error unexpected identifier
this is my model file
class customactionsModel {
function getMessagekey(){
$key = 'customfunction'; if(is_admin()){$key = 'admin_'.$key;}return $key;
}
function __construct(){
...
0
votes
1
answer
104
views
execute get request inside wordpress plugin
hello I'am working on modifying a wordpress payment gateway plugin, what i want to do is to call a rest api installed on another server at everytime a payment is made I call it this way from browser ...
3
votes
1
answer
3k
views
wp_remote_get and url parameters
I'm trying to use an API with wp_remote_get which requires pagination.
Currently, my WordPress plugin calls the API the following way
$response = wp_remote_get( "https://api.xyz.com/v1/products&...