HEX
Server: Apache
System: Linux webm014.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: circuix (152771)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/circuix/www/wp-content/plugins/wp-file-manager-pro/classes/common-functions.php
<?php
/**
 *  Package: WP File Manager Pro
 *  Common funcion Class
 *  Class: wp_file_manager_common_function
 */
if(!class_exists('wp_file_manager_common_function')) {

    class wp_file_manager_common_function {  
        
        /**
         * Get Short Code Data
         */
        public function get_shortcode_info($attrs){
            global $wpdb;
            $shortcode_attributes = '';  
            if(!empty( $attrs['id'])){
                $shortcode_data = $wpdb->get_row(
                    $wpdb->prepare(
                        'SELECT * FROM ' . $wpdb->prefix . 'wpfm_shortcodes WHERE shotcode_key = %s', 
                        $attrs['id']
                    )
                );	
                if(!empty($shortcode_data)){
                    $shortcode_attributes = unserialize($shortcode_data->attributes);        
                    $shortcode_attributes = apply_filters( 'fm_shortcode_attr_'.$shortcode_data->shotcode_key, $shortcode_attributes );
                    $shortcode_attributes['shotcode_key'] = $attrs['id'];
                    $shortcode_attributes['ac_path'] = $shortcode_attributes['access_folder'] ?? '';
                    $opt = get_option('wp_filemanager_options');
                }
            }
          return $shortcode_attributes ;
        }
    }
}