bbp_setup_akismet()
Loads Akismet inside the bbPress global class
Description Description
Return Return
(If) bbPress is not active
Source Source
File: includes/core/extend.php
function bbp_setup_akismet() { // Bail if no akismet if ( ! defined( 'AKISMET_VERSION' ) ) { return; } // Bail if Akismet is turned off if ( ! bbp_is_akismet_active() ) { return; } // Include the Akismet Component require_once bbpress()->includes_dir . 'extend/akismet.php'; // Instantiate Akismet for bbPress bbpress()->extend->akismet = new BBP_Akismet(); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |