BP_Background_Updater::dispatch()
Dispatch updater.
Description
Updater will still run via cron job if this fails for any reason.
Source
File: bp-core/classes/class-bp-background-updater.php
public function dispatch() { $dispatched = parent::dispatch(); if ( is_wp_error( $dispatched ) ) { error_log( sprintf( 'Unable to dispatch BuddyPress updater: %s', $dispatched->get_error_message() ) ); } }
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.