How does the hook 'elementor/element/after_section_end' render values in the preview window? #18611
WebsiteDons
announced in
Developers Community
Replies: 1 comment 1 reply
-
The following hook resolved the display. add_action('elementor/column/print_template', function($template, $element)
{
ob_start();
?>
<#
var maaxAcc = 'yes' === settings.col_accordion ? true : false;
if( maaxAcc ) { #>
<h3>the title</h3>
<# } #>
<?php
$acc = ob_get_clean();
return $acc . $template;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I injected fields to the elementor core columns using the hook, but the result is rendered only on the frontend and not in the preview window. What hook is need to get the task done?
The coding to add the fields
Front end render
Front end display
The output is correct, but none of this shows in the elementor preview window
Beta Was this translation helpful? Give feedback.
All reactions