HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/ultimate-member/includes/admin/templates/dashboard/cache.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;


global $wpdb;

$count = $wpdb->get_var(
	"SELECT COUNT( option_id ) 
	FROM {$wpdb->options} 
	WHERE option_name LIKE 'um_cache_userdata_%'"
); ?>

<p><?php _e( 'Run this task from time to time to keep your DB clean.', 'ultimate-member' ) ?></p>
<p>
	<a href="<?php echo esc_url( add_query_arg( 'um_adm_action', 'user_cache' ) ); ?>" class="button">
		<?php printf( __( 'Clear cache of %s users', 'ultimate-member' ), $count ) ?>
	</a>
</p>