add_thickbox

The timeline below displays how wordpress function add_thickbox has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 3.7

/**
 * Enqueues the default ThickBox js and css.
 *
 * If any of the settings need to be changed, this can be done with another js
 * file similar to media-upload.js. That file should
 * require array('thickbox') to ensure it is loaded after.
 *
 * @since 2.5.0
 */
function add_thickbox()
{
    wp_enqueue_script('thickbox');
    wp_enqueue_style('thickbox');
    if (is_network_admin()) {
        add_action('admin_head', '_thickbox_path_admin_subfolder');
    }
}