WP_Background_Process::save()

Save queue

Description

Return

($this)

Source

File: bp-core/libraries/wp-background-process.php

99
100
101
102
103
104
105
106
107
public function save() {
    $key = $this->generate_key();
 
    if ( ! empty( $this->data ) ) {
        update_site_option( $key, $this->data );
    }
 
    return $this;
}

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.