100%
  • Home
  • Courses
    • View All
Login
  • Home
  • Courses
  • Log In
  • View All
Home WordPress Training Program Advanced Concepts πŸ“œ REST API

Course Lessons

WordPress Training Program

1 Getting started with WordPress πŸ“£
  • What is WordPress
  • Creating a blog and writing daily updates ✍️
  • Installing WordPress
  • WordPress Terminology πŸ“ƒ
  • How WordPress works
  • Understanding WordPress Database Schema
  • Using themes and plugins
2 Setting up Development Environment πŸ‘¨β€πŸ’»
  • Introduction to Git and SVN πŸ”„
  • Setting up an Integrated Development Environment (IDE)
  • Pushing changes to site via Git commits/branches
  • Setting up Z shell and Oh My Zsh for fast command line work
3 Coding Standards and Best Practices πŸ’―
  • WordPress Coding Standards (WPCS)
  • PHP_CodeSniffer (PHPCS)
  • Peer Code Review
  • Security πŸ›‘οΈ
  • WordPress Documentation Schema
4 Plugin Development πŸ› οΈ
  • Introduction to plugin development
  • Hooks: Actions and Filters
  • Custom Post Types and Taxonomies
  • WordPress Core APIs
  • WP_Query (Custom Query)
  • WordPress AJAX
  • Interacting with remote data and APIs
  • Plugin development assignment
5 Theme Development πŸ‘€
  • Anatomy and architecture of a theme
  • Theme Stylesheet and Functions file
  • Template files and hierarchy
  • Customizer
  • Asset Building using Webpack & Babel
  • Child Themes
  • Handling Media in WordPress
  • Theme development assignment
6 Debugging 🐞
  • Introduction to Xdebug
  • EasyEngine site debugging with docker commands
  • How to check Nginx, PHP, and WP Debug logs
7 Advanced Concepts πŸ“œ
  • WP-CLI
  • REST API
  • Roles and Capabilities
  • Caching
  • Custom Database Table Creation
  • Optimization ⚑
  • Users and User metadata
  • Cron β³βš™οΈ
  • Background Processing
  • Internalization and Localization 🌐
  • Multisite
  • Email with WordPress πŸ“§
8 Block Editor (Gutenberg) πŸ—οΈ
  • Default Blocks
  • Creating a block
9 Testing πŸ€“
  • PHPUnit Test
  • JavaScript: QUnit, Jest
  • ESLint, JSLint, JSHint, JSCS
  • CSS: Stylelint
10 Extras πŸ˜ƒ
  • Decoupled
  • GraphQL
  • React and Next.js
  • WooCommerce πŸ›’
  • Accessibility (WCAG 2.0) πŸ”
11 Contributing to WordPress ❀️
12 Server Side πŸ–₯️
  • How to check CPU/Memory/Disk Space on a server
  • Rsync and SSH basics
  • How to sync one site with other using WP-CLI and rsync
  • Tmux basics
13 Congratulations πŸ₯³
Return to WordPress Training Program

Trainer(s)

There is no group/trainer

WordPress Training Program

REST API

Brief

The REST API has come a long way since it was added to WordPress Core. Using the REST API, you can build frontend applications powered by WordPress as the backend.

Using WordPress as a headless CMS is also a breeze with the REST API. More information on this topic can be found at Headless WordPress: The Ups And Downs Of Creating A Decoupled WordPress from Smashing Magazine and the β€˜Decoupled’ lesson under the Extras chapter.

You can also use REST API endpoints to get data directly from WordPress and display it using any front-end language or framework.

How To Use?

Check out theΒ WP-REST API Handbook.

Default REST-API Endpoints

You can have a look at all the default REST-API endpoints over here – Rest API Reference.

Creating custom endpoints

If needed, you can also create custom endpoints.

  • Extending the REST API
  • Writing a WP REST API endpoint in 2 minutes by Tom J Nowell

Admin Ajax vs REST API

Since the REST API is comparatively new and offers better performance than admin-ajax.php, developers are now moving away from AJAX to REST API. You can read more about how they differ from the below resources –

  • Comparing WordPress REST API Performance to admin-ajax.php
  • WordPress REST API versus Custom Request Handlers

← Previous Topic

Copyright 2017-25 All Rights Reserved | Designed by WisdmLabs