15 Commits

Author SHA1 Message Date
asus
75bd922fd9 using wp_localize instead of wp_add_line for ajax 2024-02-11 20:12:57 +01:00
asus
0a4185908b cleaned files by prefixing names with 'example' when not means to be used in other plugins aka not utils 2024-02-11 19:57:44 +01:00
asus
e2bd001a8a dont add ajax script multiple times 2024-02-11 19:46:40 +01:00
asus
322e440422 ajax script is automatically added when a script is added 2024-02-11 18:17:05 +01:00
asus
87a0f7fc0b changed add_var_to_front back to using add_inline instead as localize, because need to not overwrite the variables 2024-02-11 17:07:27 +01:00
asus
de6fd7a8a7 wip make ajax automatically added 2024-02-10 19:19:47 +01:00
asus
f6ba2a9e2c wip try better code organisation with ajax 2024-02-10 12:27:09 +01:00
asus
0b2e6352e1 ajax is working 2024-02-10 12:05:50 +01:00
asus
f1f04c4f12 wip found how to theorically get ajax request in php but for the moment i get error 400 2024-02-10 02:22:16 +01:00
asus
1e88b2c2f6 wip ajax in menu with fetch 2024-02-09 23:56:26 +01:00
asus
e0216ee5b3 - wip ajax
- already added ajax url to the front object
2024-02-09 18:06:06 +01:00
asus
011f0b9c3f now using wp_localize instead of wp_add_inline 2024-02-09 17:53:12 +01:00
asus
35e851cf11 - added const dir path and url
- better file organisation
2024-02-09 15:27:38 +01:00
asus
0c0b406de0 added better comments to explain functions 2024-02-09 14:31:00 +01:00
asus
c41b184221 added switch on off for server console log 2024-02-08 16:42:16 +01:00