If we want add custom dynamic content fields in module, we can achieve this in Divi 4 using add_filter('et_builder_custom_dynamic_content_fields', 'my_callback_function1') and resolve dynamic content using add_filter('et_builder_resolve_dynamic_content', 'my_callback_function2').
How can we achieve this in Divi 5.0? Is there any alternate hook for this?
If we want add custom dynamic content fields in module, we can achieve this in Divi 4 using add_filter('et_builder_custom_dynamic_content_fields', 'my_callback_function1') and resolve dynamic content using add_filter('et_builder_resolve_dynamic_content', 'my_callback_function2').
How can we achieve this in Divi 5.0? Is there any alternate hook for this?
Hook
apply_filters( 'et_builder_custom_dynamic_content_fields', $custom_fields, $post_id, $raw_custom_fields )
apply_filters( 'et_builder_resolve_dynamic_content', $content, $name, $settings, $post_id, $context, $overrides )
Code Example
Screenshot