$args parameter by adding it to the function signature. Retrieves the legacy media library form in an iframe.įormalized the existing and already documented. I found a solution using the iframe and specifying the other html page but the youtube fullscreen function is unavailable (message appearing when I try to click on the square icon) inside the pop-up whereas fullscreen mode is clickable inside the video if I call the html page directly. Media_upload_library() wp-admin/includes/media.php Retrieves the legacy media uploader form in an iframe. Media_upload_gallery() wp-admin/includes/media.php Wp_media_upload_handler() wp-admin/includes/media.php Retrieves the URL to the admin area for the current site.Ĭalls the callback functions that have been added to an action hook. Wp_enqueue_style() wp-includes/Īdmin_url() wp-includes/link-template.php Prints out the beginning of the admin HTML header.Įscapes single quotes, ",, &, and fixes line endings.īloginfo() wp-includes/general-template.phpĭisplays information about the current site.ĭetermines whether the current locale is right-to-left (RTL). _wp_admin_html_begin() wp-admin/includes/template.php To align an iFrame using HTML, you’ll need to add the align attribute to the iFrame code. This method requires some knowledge of HTML coding, but it’s a simple and effective way to ensure your iFrames are aligned exactly how you want them to be. do_action( ‘admin_print_styles-media-upload-popup’ )įires when admin styles enqueued for the legacy (pre-3.5.0) media upload popup are printed. One way to align iFrames in WordPress is by using HTML. do_action( ‘admin_print_styles’ )įires when styles are printed for all admin pages. do_action( ‘admin_print_scripts-media-upload-popup’ )įires when admin scripts enqueued for the legacy (pre-3.5.0) media upload popup are printed. do_action( ‘admin_print_scripts’ )įires when scripts are printed for all admin pages. Prints any scripts and data queued for the footer.
do_action( ‘admin_print_footer_scripts’ ) $args ) ” )įires in the admin header for each specific form tab in the legacy (pre-3.5.0) media upload popup. Source function wp_iframe( $content_func. Optional additional parameters to pass to the callback function when it’s called.