Public PHP API
⚠️ This article was created for developers!
To be able to follow the steps, you're required to have coding knowledge. If you're not a developer and can't achieve what you're looking for, consider hiring a developer.
Make sure to carefully follow the tutorial and write correct code. We're unable to provide help with custom coding, or the possible issues that are happening because of them.
The methods you can find in our Public PHP API won't change and will remain available in future updates as well.
In this article
You can find Smart Slider 3's Public PHP API at
Importing a project
You can create your own sample slider importing page in your theme/template. You should create your sliders, export them and put all those .ss3 files somewhere into your website, for example via FTP.
- pathToFile: The path to the .ss3 file on your server.
The code returns the ID of the imported slider, if the import was successful. Otherwise it returns false.
Clearing the cache of a project
You can clear the cache of a project.
- $projectID: The ID of the project where you want to clear the cache.