File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1- To add recommendations via Advisor Integration API you need to add a hook that implements RecommendationsHookInterface.
2- This interface contains two methods:
3- * getRecommendations - in this method you need to add your recommendations with steps
4- * applyStep - this method is called by Advisor every time a customer clicks on the apply button of a step
1+ To add recommendations via Advisor Integration API, you need to add a hook that implements ` RecommendationsHookInterface ` .
2+ This interface contains the following methods:
53
6- Please, see src/plib/hooks/Advisor.php for more information.
4+ * With the ` getRecommendations ` method, you add your recommendations with steps.
5+ Steps in Advisor Integration API are similar to buttons that apply recommendations in the Plesk interface.
6+ For example, the "Configure the Plesk Firewall" recommendation has the "Activate" step/button that turns on the Plesk Firewall.
7+ * The ` applyStep ` method is called by Advisor every time a customer clicks the button in the Plesk interface to apply a recommendation.
8+
9+ For more information, see ` src/plib/hooks/Advisor.php ` .
You can’t perform that action at this time.
0 commit comments