Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Can’t Post in Activity Stream

@buphx

Participant

Well, now I’m not sure if it’s even registering. I had placed this in my functions.php:
function bp_check()
{
if (wp_script_is ( ‘bp-nouveau’, ‘registered’ )) {
return;
} else {
echo ‘false’;
}
}
add_action( ‘bp_enqueue_scripts’, ‘bp_check’ );

It returns true on both the individual profile and site-wide activity pages for ‘registered’ but then returns false for ‘enqueued’ on both, even though the script is obviously working on the individual profile.

Are you able to tell if that’s the correct way to check? Should I be using a different first arg for the add_action? Thanks!

Skip to toolbar