bbPress1::callback_html( $field )
This callback:
Description
- turns off smiley parsing
- processes any custom parser.php attributes
- decodes necessary HTML entities
Source
File: bp-forums/admin/converters/bbPress1.php
protected function callback_html( $field ) { require_once( bbpress()->admin->admin_dir . 'parser.php' ); $bbcode = BBCode::getInstance(); $bbcode->enable_smileys = false; $bbcode->smiley_regex = false; return html_entity_decode( $bbcode->Parse( $field ) ); }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.