PHP Debug External API data Query in WordPress

  Рет қаралды 2,452

TechiePress

TechiePress

Күн бұрын

Welcome to our tutorial on debugging PHP code in WordPress! In this video, we'll be using PHP var_dump and error_log to understand the data we've queried from an external API in WordPress.
This video builds on our previous tutorial, "Display Queried External API data on the WordPress Front-end using Shortcodes," via • Display Queried Extern... which can be found at the link provided in the description. We'll be continuing to work with external API data, but this time we'll focus on understanding how data is uniquely handled in WordPress when it comes to objects and arrays.
By the end of this tutorial, you'll have a better understanding of how to debug your PHP code in WordPress and how to work with objects and arrays in your API queries.
Thanks for watching!
Starter Code sample: github.com/YTTechiePress/exte...
VIDEO CHAPTERS
00:00 Intro
00:23 Starter video
00:35 Determining queried data
01:07 Var_dump() method
03:00 Using pre tags
03:25 Working objects & arrays
04:30 WordPress core PHP API
06:20 WordPress core Version API
08:50 Handle Non-visual data display
09:30 Using error_log() & print_r()
10:40 WordPress debug.log file
12:30 Conclusion
HOW TO SUPPORT THE CHANNEL
=============================================
Do you like what I am doing?
- Buy me a coffee through www.buymeacoffee.com/techiepress
- Give via PayPal: paypal.me/laurencebahiirwa
- Visit omukiguy.com/support-my-work/
-------------------------------------------------------------------------------
LEARN MORE IN THE WELL CURATED PLAYLISTS BELOW
--------------------------------------------------------------------------------
Learn how to build a plugin from scratch: • Plugins Vs Functions.p...
WooCommerce E-Commerce customizations
== Build Free Custom E-commerce Online Shop using WooCommerce - • WooCommerce customizat...
== Build Free Custom Theme for E-commerce Online Shop using WooCommerce -
• Woocommerce Restaurant...
====== Build Dynamic Websites with Elementor ======
== Learn the Elementor basics - • Elementor Beginner Tut...
== Build a custom Elementor Widget from Scratch - • Build Custom Elementor...
====== How to use WordPress Gutenberg Block Editor ======
WordPress 5.4 Gutenberg Blocks Updates
== • WordPress 5.4 Gutenber...
WordPress Gutenberg blocks for Designers
== • WordPress Basics Train...
Gutenberg WordPress Block Editor tutorials for beginners
== • WordPress Basics Train...
Custom WooCommerce Gateway Development from Scratch
== • Build Custom WooCommer...
WordPress Custom REST API Namespaces, Endpoints and Examples from Scratch
== • Create Custom WordPres...
====== WordPress Plugin Development from Scratch ======
Build Most Popular & Most Commented Post Plugin
== • Build WordPress Most P...
Build SMS Plugin with External WordPress API Integration using custom WordPress Databases
== • Build SMS Plugin - Ext...
WordPress External APIs Integration Plugin Development
== • WordPress External API...
Convert WordPress to mobile App in Headless WordPress
== Convert WordPress Sports Website into Mobile Application - kzbin.info?list...
Make GraphQL API endpoints with WordPress Headless CMS WPGraphQL Plugin
== • Make GraphQL API endpo...
Customize Your WordPress & ClassicPress
== Build Custom REST API Endpoints with WordPress or ClassicPress - • Build Custom REST API ...
Custom Dashboard Widgets
== • Custom Dashboard Widge...
Build Custom Admin
== • Custom Admin for WordP...
Learn Git
== Git tutorial for writers + software developers for beginners - • Git tutorial for begin...

Пікірлер: 11
@pankajwp
@pankajwp Жыл бұрын
Good to see you back..hoping to gain some more knowledge from you
@HolyFacts
@HolyFacts Жыл бұрын
Thank you very much and Subscribed !
@codingtostopprocrastinatio9748
@codingtostopprocrastinatio9748 Жыл бұрын
Thanks for your effort !
@theman7050
@theman7050 Жыл бұрын
And he is back!! :)
@hakanegne
@hakanegne 5 ай бұрын
in which video did you create plugin?
@novencetechnical2520
@novencetechnical2520 Жыл бұрын
nice bro
@webereaugusto
@webereaugusto Жыл бұрын
nice to you again, please, could you show how to synchronize posts in 2 diferents wordpress ? one of will be a root, and other will have the same posts of the first one... is possible ? tks
@TechiePress
@TechiePress Жыл бұрын
Why would you want to do this? Isn’t negative SEO an issue as you would duplicate content? What would be the usecase?
@webereaugusto
@webereaugusto Жыл бұрын
@@TechiePress in this case, I have one site that have SEO ok, and I want to re-used the same information on these posts in others sites... theses posts have cities, maybe 100 of them or more, with information that I want show in others sites.... do you have other solution ? thank you very very much for your help, and your time
@novencetechnical2520
@novencetechnical2520 Жыл бұрын
can i execute code for api without plugins ??
@TechiePress
@TechiePress Жыл бұрын
Yes, you can use the functions.php fiel in your theme but I advise against it as you might change the theme and lose the functionality. Best to build a simple plugin and have the functionality safe and easy to disable when you don’t want it to work.
Querying external APIs with XML data using WordPress
18:18
TechiePress
Рет қаралды 2,2 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 11 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 34 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 13 МЛН
Display WordPress API XML Queried data on front end with AJAX
28:49
Tips & Tricks For Debugging WordPress PHP
9:41
WPCasts
Рет қаралды 49 М.
SSH into Remote VM with VS Code | Tunneling into any cloud | GCP Demo
10:26
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
The Story of Next.js
12:13
uidotdev
Рет қаралды 558 М.
What if my Intel CPU explodes??
14:20
Paul's Hardware
Рет қаралды 45 М.
Deep Dive into REST API Design and Implementation Best Practices
12:02
Software Developer Diaries
Рет қаралды 43 М.
External WordPress APIs Query with headers parameters
9:21
TechiePress
Рет қаралды 2 М.
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 374 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 10 МЛН