Title: _thickbox_path_admin_subfolder
Published: April 25, 2014
Last modified: February 24, 2026

---

# _thickbox_path_admin_subfolder()

## In this article

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

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

This function’s access is marked private. This means it is not intended for use 
by plugin or theme developers, only by core. It is listed here for completeness.

Prints thickbox image paths for Network Admin.

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

    ```php
    function _thickbox_path_admin_subfolder() {
    	?>
    <script type="text/javascript">
    var tb_pathToImage = "<?php echo esc_js( includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ) ); ?>";
    </script>
    	<?php
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/ms.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/ms.php#L848)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/ms.php#L848-L854)

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

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

Escapes single quotes, `"`, , `&amp;`, and fixes line endings.

  | 
| [includes_url()](https://developer.wordpress.org/reference/functions/includes_url/)`wp-includes/link-template.php` |

Retrieves the URL to the includes directory.

  |

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

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

## User Contributed Notes

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