Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Trigger tasks via a request in a plug-in

admin plugin plugins

Started by Peter 8 years ago · 0 replies · 922 views
8 years ago

I want to create a plug-in which can be triggered with a button in the backend (like clearing the cache). I took a look at the admin plug-in, but I couldn't figure out what parts it takes to create a task that can be run by a request. Can someone give me an idea, what parts I need to add to my plug-in to make it work?
Thanks in advance.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by DrPen, 2 days ago
1 63 3 hours ago
Plugins · by renedebaaij, 1 week ago
1 133 3 days ago
Plugins · by Thomas, 6 days ago
1 140 5 days ago
Plugins · by complanar, 4 weeks ago
6 469 3 weeks ago
Plugins · by BenLaKnet, 3 weeks ago
1 291 3 weeks ago