HTML is hard-coded in bp_group_documents_display_HTML()
-
Rather than loading HTML from a theme template, HTML for BP Group Documents is hard-coded in functions like
bp_group_documents_functions.php
‘sbp_group_documents_display_HTML()
. To make matters worse, the lack of any filter hooks makes it difficult to theme this HTML, so that, for instance, if a user’s theme doesn’t want or need the “|” separator that separates the buttons “Edit” and “Delete,” it isn’t easy to remove this, short of forking the plugin.A solution for this problem would be to load a template file containing HTML instead of displaying it with a function.
- The topic ‘HTML is hard-coded in bp_group_documents_display_HTML()’ is closed to new replies.