Vanilla::callback_html( $field )
This callback processes any custom BBCodes with parser.php
Description
Source
File: bp-forums/admin/converters/Vanilla.php
559 560 561 562 563 564 565 | 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.