Mehmet
Forum Replies Created
-
Hi @hypercubetech,
Thank you for opening this thread
Please note that, at the moment, there is no built-in option to send SMS to users based on specific criteria.
However, as a workaround, you may consider using a custom snippet like this:function get_mobile_numbers_based_on_criteria() {
$args = array(
'meta_query' => array(
'relation' => AND',
array(
'key' => 'mobile', // Custom field name for mobile numbers
'compare' => 'EXISTS', // Ensure 'mobile' field exists
),
array(
'key' => 'membership_level', // Example custom field for membership level
'value' => 'silver', // Silver level criterion
'compare' => '=', // Exact match
),
array(
'key' => 'location', // Example custom field for location
'value' => 'specific_location', // Define your specific location
'compare' => '=', // Exact match
),
),
);
// Execute the query to get users
$user_query = new WP_User_Query($args);
$mobile_numbers = [];
if (!empty($user_query->results)) {
foreach ($user_query->results as $user) {
$mobile_number = get_user_meta($user->ID, 'mobile', true);
if (!empty($mobile_number)) {
$mobile_numbers[] = $mobile_number;
}
}
}
// Convert array to comma-separated string
return !empty($mobile_numbers) ? implode(', ', $mobile_numbers) : 'No users found with the specified criteria.';
}
// Example usage:
echo get_mobile_numbers_based_on_criteria();This snippet has not been tested and may require modifications to work as expected.
Once you retrieve the phone numbers, you can manually enter them in the “Write Numbers” field.
Best regards,
MehmetHi @maxcom
Thank you for reaching out to us with your question. I appreciate your interest in our plugin and your detailed explanation.
Unfortunately, our plugin does not currently offer a dedicated session or journey tracking feature that allows you to see the complete path a visitor takes from landing to exit.
However, you can still view recent visitor activity by navigating to Statistics > Visitor Insights. From there, if you click on the number in the Total Views column, you will see the Recent Views of that visitor. While this is not a full journey tracking feature, it provides insight into the pages they have recently visited.
I hope this helps! Please let me know if you have any further questions. I’m happy to assist you.
Regards,
MehmetForum: Plugins
In reply to: [SlimStat Analytics] Replacement for show_report_wrapper()You’re very welcome! I’m glad I could help.
Based on your situation, you can use thedo_shortcodefunction like this:echo do_shortcode('[slimstat f="widget" w="slim_p6_01"]');Best regards,
MehmetForum: Plugins
In reply to: [SlimStat Analytics] Replacement for show_report_wrapper()Hi @yosmc,
Thank you for reaching out!
I’m sorry to hear you’re having difficulty finding an alternative to the
show_world_map()function. To display the world map, you can use the following shortcode as an alternative:[slimstat f=’widget’ w=’slim_p6_01′][/slimstat]
Additionally, you can find examples of frequently used shortcodes for WP Slimstat here:
Examples of Frequently Used ShortcodesFor further guidance on retrieving the data you need, I recommend checking this link as well:
Mastering WP Slimstat ShortcodesIf you need any further assistance or have any questions, please don’t hesitate to reach out. We are always here to help!
Best regards,
MehmetHi There,
Thank you for reaching out.
Please accept our apologies for the delayed response.
When you purge data, visitor information is removed from the wp_statistics_visitor table, and a smaller amount is transferred to the wp_statistics_historical table. This ensures your visitor and visit counts remain accurate without any loss of data.
For better optimization, consider removing query parameters and clearing user agents. You can find more details in our guide: Optimization & Data Cleanup.
You can also automate data purging by navigating to Statistics > Settings > Purge Old Data Daily and enabling Automatic Cleanup.
Regards,
Mehmet