Title: wp_add_iframed_editor_assets_html
Published: July 20, 2021
Last modified: August 20, 2026

---

# wp_add_iframed_editor_assets_html()

## In this article

 * [Source](https://developer.wordpress.org/reference/functions/wp_add_iframed_editor_assets_html/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/wp_add_iframed_editor_assets_html/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_add_iframed_editor_assets_html/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/wp_add_iframed_editor_assets_html/?output_format=md#wp--skip-link--target)

This function has been deprecated since 6.0.0.

Inject the block editor assets that need to be loaded into the editor’s iframe as
an inline script.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/wp_add_iframed_editor_assets_html/?output_format=md#source)󠁿

    ```php
    function wp_add_iframed_editor_assets_html() {
    	_deprecated_function( __FUNCTION__, '6.0.0' );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/deprecated.php#L4329)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/deprecated.php#L4329-L4331)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/wp_add_iframed_editor_assets_html/?output_format=md#related)󠁿

| Uses | Description | 
| [_deprecated_function()](https://developer.wordpress.org/reference/functions/_deprecated_function/)`wp-includes/functions.php` |

Marks a function as deprecated and inform when it has been used.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/wp_add_iframed_editor_assets_html/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.0.0](https://developer.wordpress.org/reference/since/6.0.0/) | Deprecated.  | 
| [5.8.0](https://developer.wordpress.org/reference/since/5.8.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_add_iframed_editor_assets_html%2F)
before being able to contribute a note or feedback.