No, iframe is not a good desicion. The best option is creating a custom api. WordPress has a REST API with the ability to add custom endpoints:
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/
If you’re familiar enoigh with coding, you can create a custom api that shows the message that you want and in the client site, write a code for the dashboard widget to get the code.
Related Posts:
- Embed iframe or html page into dashboard widget
- WordPress 3.8 – Dashboard 1 Column Screen Options
- Extend WordPress 3.8 Site Activity Dashboard Widget to include more comments
- Adding iframe Content to Sidebar Widget
- Indexes of widgets instances starts with ‘2’ in ‘wp_options’ table
- Storing custom dashboard widget options in wordpress
- How to Remove All Widgets from Dashboard?
- How to use control_callback when creating a widget via functions.php or plugin?
- Reorder dashboard widgets
- How do I use the control callback when creating a simple dashboard plugin
- How to Make a Custom Dashboard Widget to Display Custom Notification from Admin?
- Add a banner to the Dashboard
- Different rss feeds in a single dashboard widget
- How do I pass arguments to dashboard widget callback functions?
- Add new section to “Right Now” widget
- add widgets to dashboard for easy access for clients?
- wp_count_posts, wp_count_terms and wp_count_comments for specific user?
- Widgets not expanding on wordpress 3.3 widget dashbord
- Replace dashboard widgets with banner ad
- Custom dashboard widget search box
- Hide all Dashboard Widgets (not remove)
- wp_editor is not rendering shortcode
- Dashboard Widgets – Add Admin Page With Same Functionality
- Custom User Field in Dashboard Widget
- How to make a can’t hide widget?
- Create widget in dashboard displaying a custom user field?
- Fire on widgets_init only on dashboard
- RSS dashboard widget not showing visuals
- How to create a dashboard widget for one user
- How to position custom dashboard widgets on side column
- Grabbing how Many Posts by Month for a Dashboard Widget
- Dashboard Widget drawn before opening HTML tag
- Remove “Content” and “Discussion” from Right Now Dashboard Widget
- Create Dashboard Widget with form to keep team’s record
- modifying title (in dashboard) for different widget instances
- Adding a single text input field to a custom Dashboard widget
- Adding dashboard widgets to show – custom post type stats, information from other plugins
- Change number of widget columns in dashboard?
- Allow users to give a dashboard widget a custom name using ACF
- Quick Draft widget in weird place on dashboard after being re-added
- Set a dashboard widget to the top?
- Array showing all values of loop instead of specific value to post
- How can I add a widget area to the top of the Dashboard?
- How to customize WordPress dashboard for different users?
- Can I use wp_widget_rss_output to show my site’s feed in the dashboard?
- WordPress version quick check?
- Registered widget is showing up collapsed in the dashboard
- can’t edit widgets after moving from subfolder to root
- iframe not being displayed in a widget
- Taxonomies not showing in WP Dashboard Right Now widget
- How to make custom dashboard widget to display alert in front-end?
- How to show WordPress Dashboard Widgets on Frontend?
- class WP_Widget – Different dashboard preview for custom widget
- Unable to add options on dashboard widget ?
- Custom dashboard widget – load style only for added widget
- How to add the “page” post type to Recent Activity widget displayed in admin?
- Executing Javascript When a Widget is Added in the Backend
- Get number of widgets in sidebar
- How to display custom widget anywhere
- Show Woocommerce minicart widget in checkout page sidebar? And, how to make this update secure by overriding widget?
- Widgets not displaying in theme customizer
- Register multiple sidebars
- Creating your own widgets: using cache?
- Insert widgets after theme installation [duplicate]
- Widget code is not working on WordPress.com Hosted Blogs
- Show tags selection similar to category selection in WordPress
- Widgets not activated alert after using get_sidebar()
- Image Uploader API
- Is there any way to parse blocks inside widget area?
- WordPress Widget Multiselect Issue
- How to show all the filters with woocommerce layered nav filter widget
- Programmatically add widgets to sidebars
- How to fix wordpress site url attaching to social media links in the widget?
- register_sidebar fails when using a include within functions.php
- get_the_title and get_permalink outside of the Loop
- How to load a stylesheet into wp_head from a custom widget?
- how to add the same Widget twice to a sidebar?
- WordPress archives widget causes Bing bot 404 errors
- WordPress widget not appearing in editors widget list
- My widget not printing before_widgets and after widgets
- Enqueue script only when side widget is used
- Address automatically generated ids in css [closed]
- Widget page stopped loading
- latest posts-widget displays all posts on archive page but works great anywhere else
- looping widgets to organize bootstrap grids
- How to change widget’s form color in admin?
- Removing widget without using unregister_widget
- Text Widget to Show database fields based on post
- Widget constructor: about $id_base and $options
- Why does my $instance within a custom widget return empty (undefined index)?
- How to move widget area to another section in WordPress Customizer
- I cannot customize custom widgets anymore after moving WordPress website
- Add sidebar in inner pages
- Widget Areas Still Appearing in WP ADMIN When They Shouldn’t
- Dynamic Width of Widgets
- How to filter the widgets like calendar and archives based on category in WordPress
- Widget options – where to put them?
- I add some js files from a plugin to a specific location
- Include widget within newsletter template?
- How to tell if a dynamic sidebar is being displayed on page?