wip ajax in menu with fetch
This commit is contained in:
@@ -3,4 +3,11 @@
|
||||
- this project uses submodules recursively, so after cloning you need to do :
|
||||
`git submodule update --init --recursive`
|
||||
|
||||
- `wp_add_inline_script`
|
||||
### todo :
|
||||
- [read this guide to plugins development](https://developer.wordpress.org/plugins/)
|
||||
- [learning about the rest api](https://developer.wordpress.org/plugins/settings/options-api/)
|
||||
- ajax :
|
||||
- [using fetch ajax](https://ricard.dev/how-to-use-wordpress-admin-ajax-with-fetch-api/)
|
||||
- [wp ajax course](https://developer.wordpress.org/plugins/javascript/ajax/)
|
||||
- [examples from stackoverflow](https://stackoverflow.com/questions/43557755/how-to-call-ajax-in-wordpress)
|
||||
- using `admin_url('admin-ajax.php')` or `wp-utils`
|
||||
|
||||
Reference in New Issue
Block a user