Theory & Deliverables
🎯 Deliverable
REST endpoint live + documented in repo with curl test command
Plugin Implementation Task
✨ Building since Day 1
Build plugin's first REST endpoint — namespace: wp-enterprise-showcase/v1
Create includes/class-rest-api.php. Register GET /wp-enterprise-showcase/v1/logs — returns log entries. Use proper args array with validate_callback and sanitize_callback. Return WP_REST_Response with correct HTTP status codes. Test with curl — commit the curl command to README.
📄 Files:
includes/class-rest-api.php
⸻
feature/day-07-rest-api-endpoint
Mark done after GitHub commit & push
Daily Non-Negotiables
Git Commit
Push before day ends
Exercise
30+ min movement
Book Reading
Before sleep
AI Tool 30min
Perplexity AI
Communication
Explain something aloud
Reflection
Written note below
45-Day Progress Map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
P1: WP Core (1-10)
P2: Git/CI (11-20)
P3: Gutenberg (21-30)
P4: VIP (31-38)
P5: Interview (39-45)
Daily Self-Rating
Book Reading Log
AI Tool — 30 Min Session
End-of-Day Reflection
What confused me today?
What would I explain differently?
One win I'm underestimating: