| Server IP : 87.229.120.60 / Your IP : 216.73.216.245 Web Server : Apache System : Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64 User : server ( 1002) PHP Version : 8.3.20 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/faktorteam/www/wp-content/plugins/apollo13-framework-extensions/supports/ |
Upload File : |
<?php
add_action( 'wp_ajax_apollo13framework_prepare_gallery_items_html', 'a13fe_prepare_gallery_items_html' );
/**
* Prints HTML for new items selected from WordPress media uploader
*
* @since 1.5.2
*
*/
function a13fe_prepare_gallery_items_html() {
//returned value is array from attachment upload, so array_map( 'sanitize_text_field', wp_unslash( $_POST['items'] ) ) would break array
$items = isset( $_POST['items'] )? wp_unslash( $_POST['items'] ) : array();
apollo13framework_prepare_admin_gallery_html( $items );
die(); // this is required to return a proper result
}