BP_Background_Updater::__construct()

Initiate new background process.

Description

Source

File: bp-core/classes/class-bp-background-updater.php

24
25
26
27
28
29
30
public function __construct() {
    // Uses unique prefix per blog so each blog has separate queue.
    $this->prefix = 'wp_' . get_current_blog_id();
    $this->action = 'bp_updater';
 
    parent::__construct();
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.