HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/trinity-audio/inc/post-hashes-cron.php
<?php
  add_filter('cron_schedules', function($schedules) {
    $schedules['two_minutes'] = array(
      'interval' => 120,
      'display'  => esc_html__('Every 2 Minutes'),);
    return $schedules;
  });

  add_action('bl_cron_hook', 'trinity_phbu_continue');

  if (!wp_next_scheduled('bl_cron_hook')) {
    wp_schedule_event(time(), 'two_minutes', 'bl_cron_hook');
  }

  // add action hook here, so it triggers when another plugin executes wp_insert_post (especially using wp-cron)
  add_action('wp_insert_post', 'trinity_ph_update_save_post_callback', 2147483647, 3);