Refactor getStyles method from static to instance method
[MAILPOET-2665]
This commit is contained in:
committed by
Jack Kitterhing
parent
087a610be5
commit
37423908d7
@ -141,7 +141,7 @@ class Forms extends APIEndpoint {
|
||||
$html = WPFunctions::get()->doShortcode($html);
|
||||
|
||||
// styles
|
||||
$css = $this->formStylesUtils->render(FormRenderer::getStyles($data));
|
||||
$css = $this->formStylesUtils->render($this->formRenderer->getStyles($data));
|
||||
|
||||
return $this->successResponse([
|
||||
'html' => $html,
|
||||
|
Reference in New Issue
Block a user