You are exploring the live demo of Influenzic — a WordPress Influencer Marketing Plugin. File uploads and saving are disabled. Learn More

Notifications 3

Stay up to date with your campaigns, projects, messages, and payments.

Notifications – Influenzic
You are exploring the live demo of Influenzic — a WordPress Influencer Marketing Plugin. File uploads and saving are disabled. Learn More

Notifications 3

Stay up to date with your campaigns, projects, messages, and payments.

Notifications – Influenzic
You are exploring the live demo of Influenzic — a WordPress Influencer Marketing Plugin. File uploads and saving are disabled. Learn More

Notifications 3

Stay up to date with your campaigns, projects, messages, and payments.

$notifications = \Influenzic\Services\Notification_Service::get_notifications( $current_user_id, array( 'per_page' => 200, 'page' => 1 ) ); $unread_count = \Influenzic\Services\Notification_Service::get_unread_count( $current_user_id ); // ─── Group notifications by date ────────────────────────────────────────── // Helpers (inzc_notif_filter, inzc_notif_css_type, inzc_notif_icon_svg) are // provided globally by helpers/notification-helpers.php. $today_str = current_time( 'Y-m-d' ); $yesterday_str = date( 'Y-m-d', strtotime( '-1 day', current_time( 'timestamp' ) ) ); $grouped = array( 'today' => array(), 'yesterday' => array(), 'earlier' => array() ); foreach ( $notifications as $notif ) { $notif_date = substr( $notif['created_at'], 0, 10 ); if ( $notif_date === $today_str ) { $grouped['today'][] = $notif; } elseif ( $notif_date === $yesterday_str ) { $grouped['yesterday'][] = $notif; } else { $grouped['earlier'][] = $notif; } } $settings_page = 'brand' === $current_role ? home_url( 'settings-brand/' ) : home_url( 'settings-influencer/' ); require INZC_PLUGIN_DIR . 'templates/layout/header.php'; ?>
You are exploring the live demo of Influenzic — a WordPress Influencer Marketing Plugin. File uploads and saving are disabled. Learn More

Notifications 3

Stay up to date with your campaigns, projects, messages, and payments.

All caught up

No notifications to show here right now.