Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BP Album+ problem with images path with WP in subfolder


r-a-y
Keymaster

@r-a-y

Add a filter to bp_album_upload_path.

function my_bp_album_upload_path() {
$path = ABSPATH . 'wp-content/uploads/album';
return $path;
}
add_filter('bp_album_upload_path','my_bp_album_upload_path');

This code snippet is untested, but should give you some ideas.

You’re basically redefining the upload path that BP Album+ has set.

Lucky for you that the plugin offers a filter to change the upload path!

Skip to toolbar