BP_BuddyBoss_Platform_Updater::request_call( $action,  $args )

Description

Source

File: bp-core/classes/class-bp-buddyboss-platform-updater.php

140
141
142
143
144
145
146
147
148
149
150
151
function request_call( $action, $args ) {
    global $wp_version;
 
    return array(
        'body'       => array(
            'action'  => $action,
            'request' => serialize( $args ),
            'api-key' => md5( home_url() )
        ),
        'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url()
    );
}

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.