https://github.com/xenioushk/offer_notice_manager_wordpress
This is a simple guidelines and script that reads an external JSON file and displays an offer to the WordPress admin dashboard.
https://github.com/xenioushk/offer_notice_manager_wordpress
cron cronjob cronscheduler transients wordpress
Last synced: over 1 year ago
JSON representation
This is a simple guidelines and script that reads an external JSON file and displays an offer to the WordPress admin dashboard.
- Host: GitHub
- URL: https://github.com/xenioushk/offer_notice_manager_wordpress
- Owner: xenioushk
- Created: 2024-09-12T07:11:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T07:31:30.000Z (almost 2 years ago)
- Last Synced: 2025-01-29T15:12:41.590Z (over 1 year ago)
- Topics: cron, cronjob, cronscheduler, transients, wordpress
- Homepage: https://bluewindlab.net
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Read JSON from an external URL in WordPress
This is a simple guidelines and script that reads an external JSON file and displays an offer to the WordPress admin dashboard.
## Create a JSON file
Our initial plan is to create an offer notification message to inform admin users about a discount. This message will display only the admin area. So, create a JSON file, and copy this JSON code.
```JSON
{
"msg": "Celebrate with us and save 15%. Hop into egg-citing deals and enjoy the season: Start shopping now!",
"offer_starts": "11.09.2024",
"offer_ends": "13.09.2024",
"offer_id": "bnm_11092024_12092024"
}
```