Рет қаралды 2,452
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...