Skip to content

Internal: Replace Free to Pro Upsell Promotion - Video and button Widgets [ED-15943]#1

Draft
elchugreeva wants to merge 6 commits intoED-15908-internal-replace-free-to-pro-upsell-promotion-create-react-componentfrom
ED-15843-internal-replace-free-to-pro-upsell-promotion-video-and-button-widgets
Draft

Internal: Replace Free to Pro Upsell Promotion - Video and button Widgets [ED-15943]#1
elchugreeva wants to merge 6 commits intoED-15908-internal-replace-free-to-pro-upsell-promotion-create-react-componentfrom
ED-15843-internal-replace-free-to-pro-upsell-promotion-video-and-button-widgets

Conversation

@elchugreeva
Copy link
Copy Markdown
Owner

No description provided.


private static function get_video_playlist_data( $assets_data ) {
$data = [
'image' => esc_url( $assets_data[ Utils::VIDEO_PLAYLIST ] ) ?? '',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elchugreeva we need to make a micro-fix for esc_url( ... ) ?? '' => esc_url( ... ?? '' )

…create-react-component' into ED-15843-internal-replace-free-to-pro-upsell-promotion-video-and-button-widgets

private function filter_data( $widget_name, $asset_data ): array {
return Filtered_Promotions_Manager::get_filtered_promotion_data( $asset_data, "elementor/widgets/{$widget_name}/custom_promotion", 'upgrade_url' );
return Filtered_Promotions_Manager::get_filtered_promotion_data( $asset_data, "elementor/widgets/{$widget_name}/custom_promotion", 'upgrade_url');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return Filtered_Promotions_Manager::get_filtered_promotion_data( $asset_data, "elementor/widgets/{$widget_name}/custom_promotion", 'upgrade_url');
return Filtered_Promotions_Manager::get_filtered_promotion_data( $asset_data, "elementor/widgets/{$widget_name}/custom_promotion", 'upgrade_url' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants