File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ define `getDefaultSettings` method. This method returns the default settings of
6161
6262Now, you need to define ` getBlockFields ` method which returns the settings of the benchmark.
6363``` php
64- public function getBlockFields()
64+ public function getBlockFields($funnel )
6565 {
6666 $yourCustomTags = [
6767 [
@@ -191,7 +191,7 @@ class CourseEnrolledBenchmark extends BaseBenchmark {
191191 ];
192192 }
193193
194- public function getBlockFields()
194+ public function getBlockFields($funnel )
195195 {
196196 $yourCustomTags = [
197197 [
@@ -274,9 +274,9 @@ class CourseEnrolledBenchmark extends BaseBenchmark {
274274### Registering the Benchmark
275275Your benchmark is ready to use. Now, you need to register it with FluentCRM.
276276``` php
277- add_action('fluent_crm/after_init ', function () {
277+ add_action('fluentcrm_addons_loaded ', function () {
278278 new Your\Plugin\Name\Automation\CourseEnrolledBenchmark();
279- });
279+ },99 );
280280```
281281
282282
You can’t perform that action at this time.
0 commit comments