bpln_disable_in_dashboard

The BuddyPress Live Notification bpln disable in dashboard function.

Description

bpln_disable_in_dashboard(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function bpln_disable_in_dashboard() { 
  2.  
  3. return apply_filters( 'bpln_disable_in_dashboard', false );//use this hook to disable notification in the backend