Cron Jobs

lh_profile_wakeup

  • Schedule: daily, registered on plugin activation via setup_crons() (wp_schedule_event, offset by a random 10-60 second jitter).
  • Main site only – only scheduled if ( is_main_site() ).
  • Handler: LH_Profile_Phone_Field::run_processes().
  • Purpose: background processing for the phone field (the specific work run_processes() does lives in LH_Profile_Phone_Field, not this file – see that class for detail).
  • Cleared on deactivation via remove_crons() (wp_clear_scheduled_hook).

On network activation, on_activate() loops every site in the network and calls setup_crons() per-site; on_deactivate() does the equivalent teardown.