function set_bp_album_id() { if (bp_is_blog_page()) { $this->set_wp_album_id(); } else { $this->set_bp_component_album_id(); } }