How to get settings of field with dynamic tag inside the Repeater Control #25469
vladninja
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Start a discussion
That's easy to get the settings e.g
$this->get_settings_for_display();or$this->get_settings('field');but the problem is a field with a dynamic tag when it inside the repeater control.You can not get that field settings via the function. Only how you can get the value of the field it's just navigate from the repeater control. If the user uses the input control with a static text that's work great, but if the user uses a dynamic tag, we can not get the data which is generated by the dynamic field.
Does anybody have a workaround for that?
I've tried to call do_shorcode with a text which the elementor generated to the dynamic param but it seems not a WP shorcode, so that's not working. Also tried to do something like that
\ElementorPro\Plugin::elementor()->dynamic_tags->get_tag_data_content( 'e53a16a', 'post-id' )but that is not working as expected inside the Loop Item.Any other solutions of how we can get the result of the dynamic tag which is placed inside of the Repeater Control?
Beta Was this translation helpful? Give feedback.
All reactions