SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > filebird > includes > Support


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/filebird/includes/Support

NameTypeSizeLast ModifiedActions
ACF Directory - -
ACF.php File 439 bytes May 27 2024 10:21:44.
DocumentGallery.php File 806 bytes May 27 2024 10:21:44.
PageBuilders.php File 6153 bytes February 12 2025 12:41:10.
Polylang.php File 5200 bytes March 19 2025 13:38:06.
SupportController.php File 690 bytes June 30 2022 08:00:16.
WPML.php File 9872 bytes March 19 2025 13:38:06.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/filebird/includes/Support/DocumentGallery.php

<?php

namespace FileBird\Support;

defined( 'ABSPATH' ) || exit;

use FileBird\Model\Folder as FolderModel;

class DocumentGallery {
	public function __construct() {
		add_action( 'init', array( $this, 'init' ) );
	}

	public function init() {
		if ( ! defined( 'DG_VERSION' ) || version_compare( DG_VERSION, '4.3.2', '<=' ) ) {
			return;
		}
		add_action( 'dg_query', array( $this, 'dg_query' ), 10, 4 );
	}

	public function dg_query( &$query, $taxa, &$excluded_keys, &$errs ) {
		if ( ! empty( $taxa['fbv'] ) ) {
			$excluded_keys[] = 'fbv';

			if ( is_null( FolderModel::findById( $taxa['fbv'] ) ) ) {
				$errs[] = __( 'This folder ID does not exist, please check again.', 'filebird' );
				return;
			}

			$query['fbv']              = $taxa['fbv'];
			$query['suppress_filters'] = false;
		}
	}
}

SILENT KILLER Tool