Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

rest-api

Home/ rest-api

Getting user data via ajax

Question
I am trying to list registered users on the frontend which have a role of 'member'. I have a lot of advanced custom fields for the users though and don't know how to get those fields. I installed the 'AFC to rest' plugin which gave me an endpoint which had all the advanced custom fields for the u
0
advanced-custom-fields, rest-api, user-meta, users, wp-user-query user8463989 3 years 0 Answers 69 views

Check authentication credentials using WP REST API

Question
I'm using the WP REST API in combination with the Application Passwords plugin. What I would like to do is simply check to make sure a username and password combination (encoded as a base64 string) is valid, but I don't see an endpoint that would correspond to this functionality. Any ideas?
0
rest-api Steed-Asprey 3 years 0 Answers 64 views

I forgot my WordPress password, and I do not have access to it

Question
So I need to access my website posts by WordPress rest API, and my posts parent, any ideas?
0
posts, rest-api evara killer 3 years 0 Answers 60 views

Best way to retrieve and show data from API to WordPress

Question
Basically, Our Vendor has a system developed in Yii 1.1, Which provides us data through multiple APIs. I am calling 5 different APIs on homepage, and using foreach loop to display the data on homepage. Google speed test and analytics shows 26-30+ seconds to load the website. I have limited 10 pos
0
optimization, rest-api Asfandyar Khan 3 years 0 Answers 64 views

I’m receiving errors when I excute my wp insert function

Question
I need to interact my website with an API in the XML format to receive the feeds and store them in custom fields inside WordPress .. I tried to write the code myself but I'm not the best with PHP so I received many errors especially with the wp insert post function I will post my code here so you
0
api, php, rest-api, wp-insert-post, xml-rpc saltah 3 years 0 Answers 59 views

How to retrieve own user sites on network site using REST API

Question
Is there a way to get the sites of user on network site using REST API using that users authentication? I tried https://www.example.com/main/userdomain/wp-json/wp/v2/users/johnsmith but it doesn't return the results in my tests. For example, say user John Smith is using
0
multisite, rest-api, user-registration, users 1.21 gigawatts 3 years 0 Answers 68 views

WP_Query not ordering correctly

Question
I have two custom user meta fields created with ACF. One is quantidade_corretas_dia_4 (Numeric, integer) and another tempo_dia_4 (Numeric, decimal). I am using WP_User_Query to get users ordered by both this values like this:
0
custom-field, plugin-development, query, rest-api, wp-query joann2555 3 years 0 Answers 66 views

Impossible to create a new WooCommerce customer using Rest API

Question
On my website I have created a register page in react and I am using Wordpress headless with WooCommerce on it. So I was expecting to create a new user using the register page i have and as the Wordpress side is by default set to create a 'Customer" user type for any new registration.
0
rest-api, user-registration, woocommerce, wp-admin Seb 3 years 0 Answers 62 views

How to get custom fields in a post when published

Question
add_action( 'publish_post', 'sm12_publish_post' ); add_action( 'save_post', 'sm12_publish_post', 20 ); //After save meta value function sm12_publish_post( $postid ){ /** some checks */ if( "publish" != get_post_status( $postid ) ) return; $po
0
advanced-custom-fields, rest-api Paul John Pulumbarit 3 years 0 Answers 53 views

WordPress auctions plugin with built-in API

Question
Is there some plugin for auctions with the built-in API? I'm using Woocommerce Auctions Pro for some time but now I want to make a mobile app from that web application and I got stuck because that plugin doesn't provide an API. So I'm now trying to find some if there are any? I assume it will not
0
plugin-development, plugins, rest-api, woocommerce xcentric 3 years 0 Answers 52 views
1 2 … 37
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • 404 error - Page not

    ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.