mute_disable_members_loop_ajax

Disable ajax in the plugin.php members loop.

Description

mute_disable_members_loop_ajax(); 

Usage

  1. if ( !function_exists( 'mute_disable_members_loop_ajax' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-mute/inc/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = mute_disable_members_loop_ajax(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/functions.php  
  1. function mute_disable_members_loop_ajax() { 
  2. ?> 
  3. <script> 
  4. jQuery(document).ready( function() { 
  5. jQuery( "#pag-top, #pag-bottom" ).addClass( "no-ajax" ); 
  6. }); 
  7. </script> 
  8. <?php