> php
// Enqueue landing page styles
add_action('wp_enqueue_scripts', function() {
if (is_page_template('bhc-landing-page.php')) {
wp_enqueue_style(
'bhc-landing-page',
get_stylesheet_directory_uri() . '/assets/css/bhc-landing-page.css',
array(),
'1.0.0'
);
}
});
// Lazy load avatars
add_filter("bp_core_fetch_avatar", function($avatar) {
if (strpos($avatar, "loading=") === false) {
$avatar = str_replace("
Please confirm you want to block this member.
You will no longer be able to:
Please allow a few minutes for this process to complete.