bps_bp_spam_stop_init

Only load code that needs BuddyPress to run once BP is loaded and initialized.

Description

bps_bp_spam_stop_init(); 

Usage

  1. if ( !function_exists( 'bps_bp_spam_stop_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-messages-spam-blocker/buddypress-messages-spamblocker.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bps_bp_spam_stop_init(); 
  7.  

Defined (1)

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

/buddypress-messages-spamblocker.php  
  1. function bps_bp_spam_stop_init() { 
  2. require( dirname(__FILE__) . '/plugin.php' );