Concern: 

The customer is asking if there's a way to block BuddyBoss Ajax on a specific page (preferably the home page)


Resolution:

By default, the platform does not have this option. You can use the following CSS code.


Please follow the steps below:


    1. Go to BuddyBoss - Theme Options

    2. Under Custom Codes, enable CSS

    3. Append the following:

function block_buddyboss_ajax_on_specific_page() {    if (is_page('blocked-page')) {        add_filter('buddyboss_use_ajax', '__return_false');    } }
add_action('wp', 'block_buddyboss_ajax_on_specific_page');


Note: They will need to separate the information needed as follows: if ( is_page('ID') || is_page('slug') || is_page('title') ) 


    4. Save changes.


Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/

Related Articles:
https://www.cloudways.com/blog/wordpress-ajax/